can a document set welcome page instance have a custom webpart that is specific just to that instance?

sharepoint.stackexchange https://sharepoint.stackexchange.com//questions/65366

  •  10-12-2019
  •  | 
  •  

Question

i wanted to have a content viewer webpart in my document set welcome page that people could set when their document set was created. i found out that unfortuntely when it is set for one, it applies to ALL of the document set instances. any way around this limitation?

Was it helpful?

Solution

Using the CEWP, no.

You could, however, approach this a bit differently. For instance, one way you could accomplish this is to create a custom Visual Studio web part. In this web part you could do the following: 1) allow the users to enter and save text, 2) this text gets saved as a hidden field on the document set, 3) the web part displays what that field contains when displaying it. This would allow you to add the web part to each document set instance (like you are currently doing), but it would only interact with the content of the field of the current set.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top