The (new current) best way to update SharePoint document metadata using Flow

Send to Kindle

Hi

Some time back I documented an approach to updating document library metadata using Flow. To recap, the issue was that the “SharePoint : Create File” action provided no way to update library metadata when uploading a file, nor did it return the item ID of the newly created file. Since I wrote that post, Microsoft has updated things. First, the create file action now does return an ID, and some new Flow actions have been released, including one called “SharePoint – Update File Properties”.

This now makes the whole metadata situation much less sucky…

Check out the image below. In it, I have used a PowerApps trigger, and added a Create File action, and followed it up with an Update File Properties action. Notice that when I click the ID textbox in the Update File Properties action, I now have ItemID available from the Create File action. Much simpler than before!

image

Hope this helps someone…

Paul Culmsee

Print Friendly, PDF & Email
 Digg  Facebook  StumbleUpon  Technorati  Deli.cio.us  Slashdot  Twitter  Sphinn  Mixx  Google  DZone 

No Tags

Send to Kindle
Bookmark the permalink.

2 Responses to The (new current) best way to update SharePoint document metadata using Flow

  1. Thanks for the post. I’m glad my build on your previous workaround is no longer necessary!
    http://sympmarc.com/2017/09/20/microsoft-flow-updating-file-metadata-when-you-have-more-than-5000-items/

    M.

  2. Paul says:

    Thanks for this. One limitation of the ‘Update file properties’ Flow step appears to be that it does not support Image Libraries 🙁
    After entering the site address, Image Libraries do not appear in the Library Names drop down.
    Couple this with the fact that Image Libraries are also not supported by the feature allowing ’embedded’ PowerApps forms in libraries and I wonder if Image Libraries are on their way out.

Leave a Reply

Your email address will not be published. Required fields are marked *