cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JimmyWork
Memorable Member
Memorable Member

Create sharing link for a file or folder (Wont work with dynamic data?)

Hi 

 

Im trying to create a sharing link for a file using the "Create sharing link for a file or folder"

Everything works if i select the Site address and Library Name manually. But if use dynamic content in the Library name it will fail, even if the name is displayed exactly the same.

 

How can i use dynamic content in Library name? If i use the "create file" and use dynamic content in library then no issue, but the "Create sharing link for a file or folder" just dont allow me to use dynamic content in Library Name?

 

With dynamic content in Library name

2019-11-06 16_28_03-Run History _ Power Automate.png

 

Without dynamic content in Library name

2019-11-06 16_27_31-Run History _ Power Automate.png

 

1 ACCEPTED SOLUTION

Accepted Solutions

@v-alzhan-msft 

By getting the list ID you can use this as a dynamic content and make it work.

 

Send an Http Request:

_api/web/lists/GetByTitle('Name of the list')?$select=id

View solution in original post

3 REPLIES 3
v-alzhan-msft
Community Support
Community Support

Hi @JimmyWork ,

 

I have made a test on my side and the dynamic content in the Library name in the "Create sharing link for a file or folder" action is not supported in microsoft flow currently, if you would like the dynamic content in the Library name in the "Create sharing link for a file or folder" action to be supported in microsoft flow, please submit an idea to flow ideas fourm:

https://powerusers.microsoft.com/t5/Power-Automate-Ideas/idb-p/FlowIdeas

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-alzhan-msft Thank you for the answer.

 

I belive it works with the ListID and not ListName, i will test a bit more later today.

@v-alzhan-msft 

By getting the list ID you can use this as a dynamic content and make it work.

 

Send an Http Request:

_api/web/lists/GetByTitle('Name of the list')?$select=id

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 (1,695)