cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
dbonsma
Nintex Newbie

Update Item action for Documents in Document Set

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:

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!

0 Kudos
Reply
1 Reply
c_odegard
Nintex Newbie

Re: Update Item action for Documents in Document Set

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.

0 Kudos
Reply