Skip to main content

Search

Generate Document with Metadata

Comments

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.

    0

Please sign in to leave a comment.