cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kevmscotland
Frequent Visitor

Creating Sharing Link with Dynamic Library (& Dynamics 365 Document Locations)

Hi all,

I'm having a bit of a challenge with the SharePoint actions for creating a file (using a path), and subsequently creating a Sharing Link which requires a Library.
Now my integration is with Dynamics 365 so the Library underneath is the Document Location folder based on the entity. In this case, a custom one with schema "prefix_mytable" and display name "My Table" (Not real name).
When Dynamics creates the Libraries in Sharepoint it uses the Display names.
See example below:

kevmscotland_0-1643388213251.png

I tried stripping the library from the Path but while the path is "https://xxxx.sharepoint.com/sites/xxxx/prefix_table/someguidhere"

but the path contains "prefix_mytable" the library is expecting "My Table".
This needs to be totally dynamic based on any custom table I pass it so its not as simple as adding a switch statement for the table schema names.

Am I missing an action or some means by which i can achieve this? Ultimately I am trying to retrieve the library the newly created file (by path) was created in. I've been looking through them all and struggle to find one.

Any assistance is greatly appreciated. Thank you.

 

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 (2,364)