One of the victims of Project Server 2013 utilising SharePoint platform is the navigation (in)consistency.

Here is a description of one of the associated issue (or feature by design, who knows?)

If you

i) Open a Project from Project Centre (Projects Page),

ii) Move between PDPs

iii) Press Close button on Ribbon

You’ll return on Projects page.

But if you,

i) Open a Project from Project Centre (Projects Page),

ii) Move between PDPDs

iii) Click Project Site link

iv) Click Project Details link to go back to PDPs

v) Press Close button on Ribbon

You’ll return on Project Site Home Page.

The culprit in this case is “&ret=1” parameter in the URL which is added by Project details link. Unfortunately, this link is automatically added by a Project Server feature so we can’t change it in a Site Template.

The solution is to use a Swiss army knife of SharePoint. a.k.a JavaScript.

Just add the following code on all the PDPs via Content Editor web part

<script>

function SetReturnPage() { PDP_ret =0 ; // This will take the user back to Project Centre } _spBodyOnLoadFunctionNames.push("SetReturnPage");

</script>

0
comments:

Post a Comment

Blog Author

Hammad Arif

The second best thing (after earning dollars) i enjoy from my EPM Consultancy work is to help people learning & getting value from Project Management tools, knowledge & processes. This blog is an extension of that enjoyment.