I am trying to pass the Item ID of the most recent file in a SharePoint folder through the "Get file metadata" action to then use as a string in the subject of an email.
I first used "Get items" and ordered descending by date created and kept only the 1st item.
When I pass this through "Get file metadata" it fails, saying it can't find the file.
Any ideas how to fix this? Do I need to include the subfolder in the Site Address field of "Get file metadata"? Right now it's just the top level of the site address on SharePoint.
Thanks very much in advance!
Hi there,
File Identifier isn't the ID, but the full path of the file. You should have that from your "Get Items" - you should see it like this:
I answer questions on the forum for 2-3 hours every Thursday!