I want to create a web part to place on a document set web part. How would I get the context of the document set and the documents within the set from within the web part?
thx
|
I want to create a web part to place on a document set web part. How would I get the context of the document set and the documents within the set from within the web part? thx |
|||
|
|
|
The url for the document set welcome page includes an ID in the query string, so you can use this parameter to find the document set: http://server/MyDocumentLibrary/Forms/MyDocumentSet/docsethomepage.aspx?ID=2
NOTE: You will need to add a reference to Microsoft.Office.DocumentManagement |
|||||
|
|
http://office.microsoft.com/en-us/sharepoint-server-help/customize-the-welcome-page-for-a-document-set-HA101782474.aspx says "The Document Set Welcome page is a Web Part page that can be edited just as you would edit any Web Part page". Any further questions? |
|||||
|