cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jayant_2203
Helper II
Helper II

Retrieve URL and Folder Link through target destination

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=%... ( in a folder inside shared documents)

Target Destination3 :https://shivyogi2.sharepoint.com/sites/GoogleTest/DMSPOC/Shared%20Documents/Forms/AllItems.aspx?id=%... ( 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.
 

0 REPLIES 0

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,828)