Forum Discussion

TamaraF's avatar
TamaraF
Brass Contributor
Feb 15, 2024
Solved

Project Online Project Site - Adapt left hand navigation

Hi there,

we created a new Project Site template based on the default Project Site Template and altered the left hand navigation (removed unused lists, added links to lists with other endpoints). However, when creating a project with this new custom template, the navigation is enhanced by Project automatically.

I knew about the Project Details link and this is fine, however I want to get rid of the whole Recent section

I remember that there had been some sort of workaround / tweak that could be applied to adapt the navigation. In other Project Site templates we managed to get rid of this section, but I don't remember the solution.

Any information?

 

Btw: this is how the site navigation looks like for the site used as template (and this is not associated to a project).

 

  • TamaraF's avatar
    TamaraF
    Feb 16, 2024

    Paul_Mather Thanks for your reply. However, I knew we never solved this programmatically, so I searched for an alternative. Your hint concerning the provisioning process lead me to the answer.

     

    You need to activate the Project Web App Connectivity site feature beforehand on the site. Then the default Project lists are already created and the navigation entries are created. Now, you can delete the Navigation entries (or move them around) and save your template. During provisioning of new projects the new navigation will be kept.

     

    This does not break the provisioning process (as long as you don't touch the lists themselves of course) and you can adapt the navigation without the process interfering.

  • Hello TamaraF ,

    This is due to Project Online project site provisioning process creating the Risks, Issues and Deliverables lists on the site created event. You could either run a manual script to update the site nav post creation or build a remote event receiver solution that runs automatically after the site is created that goes and updates the site nav.

    Paul

    • TamaraF's avatar
      TamaraF
      Brass Contributor

      Paul_Mather Thanks for your reply. However, I knew we never solved this programmatically, so I searched for an alternative. Your hint concerning the provisioning process lead me to the answer.

       

      You need to activate the Project Web App Connectivity site feature beforehand on the site. Then the default Project lists are already created and the navigation entries are created. Now, you can delete the Navigation entries (or move them around) and save your template. During provisioning of new projects the new navigation will be kept.

       

      This does not break the provisioning process (as long as you don't touch the lists themselves of course) and you can adapt the navigation without the process interfering.

Resources