#ProjectServer 2013 / #ProjectOnline project fields displayed on project site #JavaScript #jQuery

June 2, 2014 at 8:48 pm | Posted in Add-on, Administration, Configuration, Customisation, Functionality, Information | 6 Comments
Tags: , , , , , , ,

Just a quick post to highlight a new script I have published this evening. This displays project fields on the associated project site. A full blog post will be coming soon that explains how to use the script and what would need modifying for your environment (custom fields etc.). The script can be downloaded below:

http://gallery.technet.microsoft.com/scriptcenter/Server-Information-ab10fd63

A screen shot of the output is below:

image

The RAG Status background colour and font colour update based on the custom field value.

About these ads

6 Comments »

RSS feed for comments on this post. TrackBack URI

  1. Hi Paul,
    I wasn’t able to get this working. When I drop the code into the Script Editor, it displays the column headers, but no data. Is there anything else I need to include besides the custom fields and the script file in the Assets folder?

    Thanks in advance!

    • Hello,
      You will need to ensure your machine has internet access to access the CDN datatable files also. The jquery file also needs to be accessible from the page (make sure the location is correct). As it uses ODATA your account will also need access to the ODATA feeds. I will write a blog post that details this hopefully this week. Paul

      • Thanks Paul, I was able to get this to work. I believe I incorrectly named one of the custom fields. I do have another question however; how do you handle custom fields with spaces? I’ve tried including brackets, but that doesn’t seem to work. Would I have to reference the field by it’s GUID?

      • Hello, As this script uses ODATA the ODATA feed truncates the spaces, so for example “Project Number” would become “ProjectNumber”. Paul


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com. | The Pool Theme.
Entries and comments feeds.

Follow

Get every new post delivered to your Inbox.

Join 689 other followers

%d bloggers like this: