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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Retrieve URL of new Do...
Power Automate
Unanswered

Retrieve URL of new Document created in SP Doc library

(0) ShareShare
ReportReport
Posted on by 356 Microsoft Employee

I'm building an App in PowerApps, and I would like to associate files in an SP Doc library to an item in an SP List. The intent is to get the URL of a Doc that has been copied into an SP Doc library, and then insert that URL into a column in an SP List.

 

Here's the scenario:

 

 

The User needs to make a purchase request, which requires getting an approval from a Manager. This is to be done using PowerApps where the User will fill in a "form", and the data gets captured in related Sharepoint lists.

 

In addition to the above, the User needs to "attach" docs. Which in this case would be quotations received from vendors. These "attached" docs need to be "private", only visible to the person who submits the request, and the person(s) to whom the request is being submitted to.

 

So I was thinking along the following lines:

 

1. User fills in "Form" in PowerApps.

2. User copies file ("attachment") to their own Onedrive for Business, which triggers a Flow to copy the file to a SP Doc library where only the User and Manager have access permissions.

3. I then need to be able to retrieve the URL of the doc in this SP Doc library, so that it can be entered into the SP List record for the specific purchase request.

 

So how do I retrieve the Doc URL, once Flow copies the file from OneDrive for Business to the SP Doc library, and can this be the same Flow so i have the Record ID for the associated record in the SP List?

 

Any help with this will be greatly appreciated

 

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi UB400,

     

    About #3 “I then need to be able to retrieve the URL of the doc in this SP Doc library, so that it can be entered into the SP List record for the specific purchase request”, I am afraid it cannot be achieved currently.


    When creating a flow to create an item in SharePoint list when a file is created in SharePoint library, I found that there is no dynamic content for the URL of the documentation.


    As currently, there are only several dynamic contents for the trigger “SharePoint – When a file is created” can be selected.

    3.PNG

     

    I haven’t seen a related idea on Flow Ideas Forum, please consider to create a new one at Flow Ideas Forum. PGs will check it and take it into consideration in the future release. I will also collect and report this from my side.

     

     

    Best regards,
    Mabel Mao

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 813

#3
Haque Profile Picture

Haque 526

Last 30 days Overall leaderboard