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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / how to get library nam...
Power Automate
Unanswered

how to get library name  from the trigger "For a selected file" or why itemURL changed and dont have anymore library name

(0) ShareShare
ReportReport
Posted on by

Hi everyone,

 

I want to make a  flow which could run on several libraries because is a complex flow and users ask frequently for modify/improve it.

My flow is the same on all libraries , only library name is different, so i don't want to duplicate it. 

How to get the library name from the trigger "For a selected file"?

first i think use the "itemurl "proprety   because it look like "SiteUrl/Libraryname/....".

But i don't understand why, the itemurl change after severals runs and don't have anymore library name but look like "site/_ layout/15/Doc.aspx?sourcedoc=%00000%7D&action=edit&uid=%xxxxx%7D&ListItemId=419&ListId=%yyyyyy%7D&odsp=1&env=prod". 

Do you know why the itemUrl has changed? or how to get library name ?

 

Thanks a lot for your hep& best regards

 

P.s : sorry if my english is not  good/ fluent.

 

Françoise

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,678 Most Valuable Professional on at
    Re: how to get library name  from the trigger "For a selected file" or why itemURL changed and dont have anymore library name

    There is no way to make a flow that will run on multiple libraries.  You can make a flow on a single library and then make a copy and edit it to point at a different library.  But since triggers are library specific you'll need one copy for each library.

  • Couldbefunny Profile Picture
    on at
    Re: how to get library name  from the trigger "For a selected file" or why itemURL changed and dont have anymore library name

    In the meantime is there any way to solve the problem? Because I am facing the same problem?

  • Pstork1 Profile Picture
    68,678 Most Valuable Professional on at
    Re: how to get library name  from the trigger "For a selected file" or why itemURL changed and dont have anymore library name

    AS I said, you can't create a flow that will run on multiple libraries.  You can create a flow for a library, then make a copy by Exporting it or SaveAs and change the copy to work with a different library.  But every library will need its own copy of the flow with its own trigger.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard