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 / Dynamic Gallery Text I...
Power Apps
Unanswered

Dynamic Gallery Text Input Default Property

(0) ShareShare
ReportReport
Posted on by

Rather than using multiple galleries (and Visible property), I am attempting to use a single gallery with dynamic properties.

 

This idea is that based on a dropdown selection (outside of gallery), the gallery will reflect the associated datasource (Items) and associated records (in this case a text input field).

 

I have the dynamic 'Items' property (e.g. "Classes") of the gallery working, as expected, using a variable and switch function @ the dropdown OnChange.

 

But I am stuck on the gallery record\ text input Default property, e.g. ThisItem.Class_Name.

 

Possible? Ideas?

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    153,049 Most Valuable Professional on at

    Hi @kent-culpepper ,

    You cannot generally base a gallery on multiple alternate data sources as the resulting output will be different in each case  - you have one example when referring to ThisItem.xxxx (field name), but others include Gallery.Selected.xxxx. The only way I know of doing it is basing the Items on a Collection with a lot of RenameColumns/AddColumns in the collect functions so it always has the same field structure.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

     

  • kent-culpepper Profile Picture
    on at

    What's interesting is that it works flawlessly for the "primary" column, which has the same name ("cr8cd_name") in all 3 data sources\ tables. But the 1 other column I want to display will not populate, in all of my trial and error. 

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