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 / Dynamically get SP fil...
Power Automate
Unanswered

Dynamically get SP file location and add to SP List

(0) ShareShare
ReportReport
Posted on by 2

I am creating a List Item, everytime a new file is uploaded to a certain SP Folder and that is working as expected. Now I would like to take it a step farther and add a column for the file location (hyperlink), I am having issues trying to figure this out.

Basically when the list new is creating, I am grabbing the title but I want to grab the file url location as well and use it in my list so that users can view the list and click on the file location to open the document.

thanks

Categories:
I have the same question (0)
  • MattWeston365 Profile Picture
    1,701 on at

    Hi @sevenrice which trigger are you using?

     

    If you're using "When a file is created in a folder", the triggerBody() will only give you information about the physical file, not the metadata associated with it. Whilst it will give you some identifying information, it's not quite as much as if you used the trigger "When a file is created (properties only)".

     

    From that trigger, you can use the "Link to Item" dynamic content to put a full URL to the file in the other list.

  • sevenrice Profile Picture
    2 on at

    @MattWeston365 

    Here is my current setup

    Flow-NewListItem.png

  • v-yamao-msft Profile Picture
    on at

    Hi @sevenrice ,

     

    Do you want to add a link of a file in the SharePoint list when the file is created in a library?

     

    I suppose that there is a Hyperlink column in the list, please check if the flow configuration will work for you.

    1.PNG

     

    Best regards,

    Mabel

     

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard