web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Set Sharepoint metadat...
Power Automate
Unanswered

Set Sharepoint metadata by path

(0) ShareShare
ReportReport
Posted on by 6

I see that there are actions to get file metadata by path, and to update file properties (but with separate fields for library, ID, etc...).  Is there any way to set file metadata when you just have the file path?

Categories:
I have the same question (0)
  • AlanPs1 Profile Picture
    2,471 on at

    Hi @teleute

    Whilst I think I am understanding your query, would you mind being clearer on this one please?

    Please capture some images to clearly illustrate the issue and post back withe exactly wheat you are looking to acheive and I will look into it for you.

     

    If you found this helpful, please mark with thumbs up.

    Any other questions, just ask.

    Thanks, Alan

  • awalters Profile Picture
    6 on at

    Sorry - I'm not sure what images I can capture when I can't find where to do this.

     

    Regardless, I have an entity in Dynamics 365 where each record has, as a field, the full URL to a file in Sharepoint.  If a field is set/changes on that record, I want to update the corresponding metadata field on that file in SP.

  • AlanPs1 Profile Picture
    2,471 on at

    Hi @teleute

    I would suggest that what you are asking is achievable and I would start a new blank Flow withe the following trigger:Capture-076.png

     The entity will be "the full URL to a file in Sharepoint." and then after that something like this.

    Capture-078.png

    Here is more detailed information on updating SharePoint Document Library Properties

    https://flow.microsoft.com/en-us/blog/support-for-sharepoint-document-library-properties/

    There would need to be some connectors used to change the properties or metadata of the file in SharePoint but I am hoping the above link will get you closer.

     

    I don't have dynamics set up in a way I can recreate this for you or I gladly would, but if you were to start the ball rolling and get stuck then post some images/errors, either myself or another in the community would be sure to assist at that stage I am sure.

     

    If you have found my post helpful, please mark thumbs up.

    Any other questions, just ask.

    Thanks, Alan

  • awalters Profile Picture
    6 on at

    Oh...so basically chaining the steps, kind of like using a pipe in Powershell?  Interesting...didn't occur to me.  Will give it a go and see if I can make it work.  Thanks!

  • AlanPs1 Profile Picture
    2,471 on at

    Pretty much like that @teleute

  • awalters Profile Picture
    6 on at

    I've been playing with this, but I'm not sure if adding that step gets me any further.  The file properties don't give me the Library name to work with in the last step, so I still have to try to parse that out from the full path.  I guess it gives me the ID, though - I'm assuming from context that that's different from the file name?

     

    screenshot.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard