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 / 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:
  • Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    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

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

  • Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard