Skip to main content

I have a need to update some of the tag data associated with documents within a document set. I have been able to identify the ID of the particular document in question, and have configured the "Update Item" action like this:

209914_pastedImage_1.png

This runs with no error, however the HiddenDateExp field does not get updated. In reading through other posts, it seems that it's not possible to update items within a document set. Can someone confirm this? Is there another way to achieve this? BTW, this is happening within a site workflow that checks for the expiry date of a document -- thanks to  for this very helpful post: Site Workflow - Document Review Date Approaching Reminders . I am running Nintex Workflow 2010 Standard, on premise.

Thanks very much!

Each set is somewhat like a regular folder in a document library, so all of the files inside it can be accessed by appending their names to the URL of the Doc Set:

e.g. https://sp2016.net/sites/library/Document_Set/File_001.jpg

I would suggest using REST calls to access the files inside Document Sets. Each set is an Item in the document library. Using REST, you can get a list of all the files inside the set using the /Items(id)/File endpoint. 

e.g. https://sp2016.net/sites/library/_api/Web/Lists/getByTitle('MyLibrary')/Items(9)/File

The response contains all the metadata for each item inside the document set with the ID 9 inside the Doc Lib MyLibrary.


the File endpoint doesn't work for SharePoint online. 


 


It returns:


This XML file does not appear to have any style information associated with it. The document tree is shown below.


Reply