Feb 15 2024 01:44 AM - edited Feb 15 2024 02:48 AM
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).
Feb 15 2024 04:18 AM
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
Feb 15 2024 10:45 PM
Solution@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.
Feb 16 2024 01:04 AM
Good catch @TamaraF - I forgot about that as I've not touched Project Online for a while - most have moved away from it to Project for the web! I even documented about activating the feature here 10 years ago! https://pwmather.wordpress.com/2014/02/02/getting-started-with-projectonline-part-6-ps2013-office365...
Paul
Feb 15 2024 10:45 PM
Solution@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.