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 / Populate dropdown list...
Power Apps
Unanswered

Populate dropdown list from gallery item

(0) ShareShare
ReportReport
Posted on by 107

Hi Power Apps experts

 

I have a Gallery1 with a field "Docno"

 

In have another gallery Gallery2 where I have a dropdown that needs to be populated based on Gallery1.AllItems.Docno

 

I have tried defining Items of dropdown with Gallery1.AllItems.Docno but this doesn't work.
I am getting [object Object] [object Object] ?

 

How may I do this?


Note: I don't want to fetch from Gallery1's datasource.
I would love to fetch the dropdown list from Gallery1 allitems docno.text

Thanks. 🙂

Categories:
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi, I did a quick test here and your code should work well with Gallery1 then defining the dropdown Items with Gallery1.Allitems. yourfield since you're sending a text...

     

    But the thing is, this field should not be a record type, if so, you'll need to do some workaround to fetch your dropdown which is expecting a text.

  • Jagadeeshk Profile Picture
    457 on at

    It is working for me, can you please share little more detail, line codes.

  • SearchingYT Profile Picture
    107 on at

    @Anonymous and @Jagadeeshk 
    Please see my note.
    Yes it works when fetched from datasource.
    But, my gallery1 contains inputtext field. User fills docno. in here. This is not patched yet - does not exist in the datasource.

    At this point, I want my dropdown list to contain values from gallery1 inputtext fields - not gallery1 datasource field.

    I hope this helps
    TIA as always 🙂

  • Jagadeeshk Profile Picture
    457 on at

    Pls elaborate with your codes & screens

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 Apps

#1
11manish Profile Picture

11manish 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard