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 and Folde...
Power Automate
Unanswered

Retrieve URL and Folder Link through target destination

(0) ShareShare
ReportReport
Posted on by 55

Hello All,

I have a use case where we are building a custom form through PowerApps in a document library. Now, we are trying to build an approval flow over that document library. The user will enter all the details along with target destination link. Now the link can be of the following type. 

Target Destination1 : https://shivyogi2.sharepoint.com/sites/GoogleTest/DMSPOC/Shared%20Documents/Forms/AllItems.aspx ( Directly in the Shared Documents)

Target Destination2 :https://shivyogi2.sharepoint.com/sites/GoogleTest/DMSPOC/Shared%20Documents/Forms/AllItems.aspx?id=%2Fsites%2FGoogleTest%2FDMSPOC%2FShared%20Documents%2FTest&viewid=03365946%2Dc5ab%2D4dbc%2Da1f5%2Dd15acf98d53f  ( in a folder inside shared documents)

Target Destination3 :https://shivyogi2.sharepoint.com/sites/GoogleTest/DMSPOC/Shared%20Documents/Forms/AllItems.aspx?id=%2Fsites%2FGoogleTest%2FDMSPOC%2FShared%20Documents%2FTest%2FTest1&viewid=03365946%2Dc5ab%2D4dbc%2Da1f5%2Dd15acf98d53f ( Test1 Folder under Test Folder under Document Library ) 

 

Now, we need to create a file in the target destination and for that we need to use create file and for that we need Site URL and folder name which we need to retrieve from above target destination that the user has put in the form. How can we retrieve it from the above URLs. We need it to be dynamic as it can be a case the destination library can no folder structure or even single folder structure or can have multiple folder structure as given in above links.

 

Any help would be appreciated. Please help us out!!
Thanks in advance.
 

Categories:
I have the same question (0)

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 470

#2
Haque Profile Picture

Haque 411

#3
David_MA Profile Picture

David_MA 337 Super User 2026 Season 1

Last 30 days Overall leaderboard