Skip to main content


Generate Document with Metadata


1 comment

  • Christof Nussbaumer

    Not directly in the Generate Document action, but you can add below an additional Update List Item action that updates your document's metadata like in this example:

    As value of List item Id you need to set the ID of the last added (generated) document like this:

    =[[@Web.QueryList('YourDocLibsName', '<Where><Eq><FieldRef Name=Author LookupId=True /><Value Type=User ><UserID/></Value></Eq></Where><OrderBy><FieldRef Name=Created Ascending=False /></OrderBy>', 1, 'ID', 'Scope="Recursive"')]][0].ID

    Let us know here if it works for your case.


Please sign in to leave a comment.