Select View in Project Details Web Part via URL (Server 2019)

Copper Contributor

Hello,

We want to embed the Project Details Web Part in a SharePoint application so when it opens, it shows the project with a specific view showing only milestones.

We know how to select the project to show (with ProjUID parameter). We don't know how to select the view.

I found this: https://social.microsoft.com/Forums/he-IL/00f5cc80-4850-4fbe-a621-414b1aedfdc6/setting-default-view-...

but it's about Project Center and not Project Details.

Can it be done also with Project Details web part?

 

Thanks,

Barak

1 Reply

Hi @Barakb321 

As you know the view cannot be selected from the URL using for example an ID like you can do for the project UID. You might try to adapt the code proposed in your reference on the project detail page (.aspx).