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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Changing data source u...
Power Apps
Unanswered

Changing data source using code

(0) ShareShare
ReportReport
Posted on by

Hi

 

I'm trying to change the data source of a gallery depending on what the name of the page its on. I have a record for each page using the page name as the primary key and two columns, one with the name of the source to be used and the other being the columns of the source table to be filtered by., in a configuration table.

I find the record with the same page name in the configuration table and take the other 2 values from it to use.

Is there a way to have a table and search filters as values in a column?

Is there any way of getting this to work or is there another approach?

 

Thanks

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at

    I'm trying to change the data source a gallery uses using code. I have the name of the source I want to use as a text value. I was wondering if there is any way of having that text value point towards a table and have said table be used as a data source

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard