Forum Discussion

Ana-S's avatar
Ana-S
Brass Contributor
Jan 26, 2023

Project Site - Navigation link broken on Project Detail Page

Hi,

We have Project 2019/SharePoint 2019/Project Web App 2019 on premise system.

We adjusted Left Navigation menu for project site as shown below. The links were just moved up/down and indented. No changes made to the URL.

The above image shows the navigation structure on existing Project site. Project template is created from existing Project Site. When a new project is created, we see broken link (Project Details 1) for Project Details as shown below and new (Project Details 2) is created outside the navigation structure.

Project Details 1 link does not go to Project Information page. It exits out to the Project Center

The Project Details 2 link goes to the Project information page as expected but it is created outside the section.

Please see the screenshot, for site setting -> navigation settings for the project that created using template. How can we fix this issue on the template? Any help on this issue is appreciated.

Thank you.

  • Hello Ana-S ,

    This is by design as the Project Details links are added by the Project Server Project Site provisioning process. To get around this, you need to update the navigation post site creation. You can either do this manually or write code to do it. You could automate all of this if you wanted, trigger your custom code to run on the site created event in SharePoint. The SharePoint PnP remote provisioning could be an option: https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/pnp-remote-provisioning 

    Paul

    • Ana-S's avatar
      Ana-S
      Brass Contributor
      Thank you Paul. I am newbie in SharePoint concepts.
      We have on Premise 2019 system. Could you please elaborate bit more/some samples on how to update the navigation on post site creation. I understand you mentioned writing the code, which I am interested in. You mean CSOM/REST API. How do we automate the code?
      I read a link you provided on Remote provisioning but haven't caught up on understanding.
      • Hello Ana-S ,

        On this forum, I can only point to the docs. I couldn't cover this in a 1 line code snippet etc. It might be best to engage with a SharePoint developer / Microsoft partner to support you.

        I hope you get something sorted.

        Paul

Resources