none
Customizing Project Site Templates in Project Online RRS feed

  • Question

  • Does anyone know if custom links to custom PDPs can be added to a project site template? In my tests it looks like the project site template doesn't retain and automatically include the correct project GUID.

    I've addressed this before through a event handler in Project Server. Is the only option to use a remote event receiver in Project Online?

    Anyone have any ideas?

    Thanks,

    Roland

    Wednesday, October 22, 2014 6:56 PM

Answers

  • Hello,

    Yes that is what I am thinking - that should work. I haven't done it in 2013 Project Online but we did this in PS 2010 but part of it used a feature we created to get jQuery available on all pages in the PWA site collection.

    Paul


    Paul Mather | Twitter | http://pwmather.wordpress.com | CPS

    • Marked as answer by Roland G29 Wednesday, October 22, 2014 7:49 PM
    Wednesday, October 22, 2014 7:36 PM
    Moderator

All replies

  • Hello,

    You could do this with JavaScript.. add the custom link to the desired PDP on the navigation options and get the ProjectUID from the project property bag and update the link using JavaScript to dynamically pass in the ProjectUID to build the correct URL for the associated Project.

    Paul


    Paul Mather | Twitter | http://pwmather.wordpress.com | CPS

    Wednesday, October 22, 2014 7:18 PM
    Moderator
  • Hey Paul,

    I'm not sure if I follow what you're saying. Are you talking about adding the JavaScript to the Project Site Template to dynamically update the left navigation links for any custom PDPs? If so, yes I thought about that but wanted to see if there was another option where the code wouldn't have to be executed each time a user loads the project site home.

    Thanks,

    Roland

    Wednesday, October 22, 2014 7:29 PM
  • Hello,

    Yes that is what I am thinking - that should work. I haven't done it in 2013 Project Online but we did this in PS 2010 but part of it used a feature we created to get jQuery available on all pages in the PWA site collection.

    Paul


    Paul Mather | Twitter | http://pwmather.wordpress.com | CPS

    • Marked as answer by Roland G29 Wednesday, October 22, 2014 7:49 PM
    Wednesday, October 22, 2014 7:36 PM
    Moderator
  • Got it. Thanks Paul! I'll try that out.
    Wednesday, October 22, 2014 7:49 PM