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 Apps / acquiring Sharepoint l...
Power Apps
Unanswered

acquiring Sharepoint list name from within the app

(0) ShareShare
ReportReport
Posted on by 774 Moderator

I'd like to display a value based on the Sharepoint list name from where the specific record originated, from my online searches I don't think there is a straightforward way but maybe someone can think of a workaround?

I was thinking that maybe creating one column which would auto-populate with identifier do the trick, is this possible in Sharepoint?

 

I hope that question makes sense...

 

Seb

Categories:
I have the same question (0)
  • AJ_Z Profile Picture
    3,711 Super User 2024 Season 1 on at

    I think I need a bit more information so I can better understand you app/model. Where does this record come from is it set/updated in the app with some sort of condition and how is it set/updated in the app? Then what are we doing with this record. 

     

    If this record is coming into some sort of variable and it can be set from different sources based on some sort of condition. Could we not use the initial condition to help us with this?

  • elseb Profile Picture
    774 Moderator on at

    Hi, here's the scenario:

    I have several galleries on the main screen, each connected to a different SharePoint list, the galleries represent locations and display a list of employees in that location, the user will transfer them when needed (that part is sorted and working)  however I would like to be able to display the list of all the staff from various locations in another gallery and be able to search and check where they are physically by looking at that list (eg. name of the employee and location on next to it)

     

    hope that makes sense

    Seb

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @elseb :

    Do you want to combine data from multiple galleries into one gallery for display? Are the data structures of these Gallery's data sources the same? ( having the same field name and field type, such as 'staff', 'location' ...)

    If so,you could set the new gallery's items property to:

    Ungroup(
     Table(
     {Value: Gallery1.AllItems},
     {Value: Gallery2.AllItems},
     {Value: Gallery3.AllItems},
     {Value: Gallery4.AllItems}
     ),
     "Value"
    )

    Best Regards,

    Bof

     

  • elseb Profile Picture
    774 Moderator on at

    thank you, I've decided to go in a different direction with that project. But just to clarify, While having multiple lists used as sources in that app I needed to display where a certain record originated (which list exactly)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 88

#2
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 45

Last 30 days Overall leaderboard