How to capture library name and make updates

  • 15 November 2021
  • 1 reply
  • 10 views

Badge +6

In SP 2016, I want to create a Nintex Workflow. The user shall manually enter a library name. The workflow shall then retrieve all documents and folders of the library and perform some logic. Logic involves updating metadata or field associated with each document

 

What are my options. I was thinking of using CAML query. But then how do I use CAML query to update a field. 

 

Any ideas would be appreciated.

 

Mayank


1 reply

Userlevel 4
Badge +9

You don't use CAML queries to update field, but to retrieve the ID of the items.
Once you have the IDs, you can loop on them to update the properties.
Do not forget to use RecursiveAll in your CAML to explore subfolders.

Reply