#ProjectServer #project milestones on the project site #ProjectOnline #PS2013 #SharePoint #JavaScript #jQuery #SP2013 #Office365

May 12, 2014 at 2:38 pm | Posted in Add-on, Administration, Configuration, Customisation, Functionality, Information | 5 Comments
Tags: , , , , , , ,

This is another script I have written and published yesterday. It will display any project milestones on the associated project site. This JavaScript file can be downloaded from the Microsoft Script gallery:

http://gallery.technet.microsoft.com/scriptcenter/Server-Milestones-f8be71b8

To get the script to work you will need to download the following jQuery library:

jquery-2.1.1.min.js – jQuery download

Another version of this library may work but this was the one I used / tested with.

Upload this library to your PWA site collection then update the script file with the correct location. I uploaded this file to the site assets library as you can see in the code below:

image

Also notice the reference to the default SharePoint JS files and the two references to the Data tables CSS and JS files. I just referenced the hosted files but you could download these and host them yourself – if hosting the data table files yourself you will need more than just the two files reference here.

Add the script to your PWA site collection, I uploaded this to the Style Library. Then add a content editor web part to the project site and reference the uploaded project milestones JS file. If you want this to be on all project sites then you would need to create a new project site template.

Once added to a project site the milestones will be visible for that project:

image

The table can be sorted using the controls on the table.

If no milestones exist in the associated project then the table displays the default no data available message:

image

Create a milestone in that project and you will see that appear on the associated project site after publishing:

image

A nice simple script to allow your users to see project milestones on the Project Site. Download today and try it Smile

About these ads

5 Comments »

RSS feed for comments on this post. TrackBack URI

  1. Looks like a simple and nice solution. Thanks for sharing! Gonna try it on my Project Online tenant :)

    • Glad you like it :)

  2. […] the Project Milestone JavaScript file I wrote, you will also notice the reference to the default SharePoint JS files and the two […]

  3. […] the Project Milestone JavaScript file I wrote, you will also notice the reference to the default SharePoint JS files and the two […]


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 677 other followers

%d bloggers like this: