#ProjectOnline / #ProjectServer 2013 update #Project Name description on PDP #JavaScript #jQuery

September 22, 2015 at 3:51 pm | Posted in Add-on, Administration, Configuration, Customisation, Functionality, Information | Leave a comment
Tags: , , , , ,

Some times organisations want to update the Name description on the PDP to something else. This simple script will do that, the example in the script will work for the Enterprise Project EPT but could easily be updated for other EPTs. The script can be downloaded here:

https://gallery.technet.microsoft.com/Online-Server-update-Name-0f8bd826

The script is very similar to the one I created to change the Owner label: https://pwmather.wordpress.com/2015/06/12/projectonline-projectserver-2013-update-owner-label-on-pdp-javascript-jquery/

This code will replace “Specify a name for the Enterprise Project” with “Enter a name for the project” but can easily be updated. All it does is replaces the string, so if you had multiple different EPT’s  where you wanted to update the Name description the script would need to be modified to suit as the EPT name is used in the description.

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 Shared Documents library as you can see in the code below:

image

Alternatively you can reference a CDN if preferred.

Once the script is downloaded, upload this to the PWA site collection, in this example it was uploaded to the shared documents library. Select the PDP that has the Name field displayed, then reference the uploaded script using the content editor web part:

image

Once loaded, “Specify a name for the Enterprise Project” with “Enter a name for the project”:

image

This is a very simple script but do test this before rolling out to production etc.

The script is provided “As is” with no warranties etc.

Advertisements

Leave a Comment »

RSS feed for comments on this post. TrackBack URI

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.
Entries and comments feeds.

%d bloggers like this: