Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

acquiring Sharepoint list name from within the app

(0) ShareShare
ReportReport
Posted on by 758

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:
  • elseb Profile Picture
    elseb 758 on at
    Re: acquiring Sharepoint list name from within the app

    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)

  • Re: acquiring Sharepoint list name from within the app

    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
    elseb 758 on at
    Re: acquiring Sharepoint list name from within the app

    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

  • AJ_Z Profile Picture
    AJ_Z 3,711 on at
    Re: acquiring Sharepoint list name from within the app

    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?

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard