Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
Answered

Set dropdown value from selected gallery

(0) ShareShare
ReportReport
Posted on by 306

Hi,

 

I'm creating an app which is connected to an entity in CDS. 

 

Until now, I have used a Gallery to show all the items, and then an Edit Form to edit the fields of the selected item. I then use the SubmitForm() function to submit the changes to CDS. This works as supposed. 

 

However, I would like a bit more freedom and flexibility with my design, so I'd would rather just add the controls I need, and then relate them to the selected record/item in the gallery instead of using an Edit Form. Is that possible?

 

I've tried adding a Dropdown control and setting the Items property to: 

Gallery.Selected.DataSourceDropDownField

However, that doesn't do the job. 

 

Any input is appreciated. 

Categories:
  • Verified answer
    Nielf Profile Picture
    306 on at
    Re: Set dropdown value from selected gallery

    @Drrickryp, thanks for the link. There are some good tips in the blog post. 

     

    I have found a solution that seems to do the job for me. It was posted by @v-yamao-msft in this thread

     

    As a small note, I use the the Distinct function on the Items Property of the Dropdown control to only show unique values of the dropdown. Otherwise duplicate values will exist. 

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at
    Re: Set dropdown value from selected gallery

    Hi @NielsL,

    If you are ready to move on to developing your own forms please review @Meneghino’s blog at https://baizini-it.com/blog/index.php/2017/09/28/powerapps-101-create-your-own-forms/.  All the information you need can be found there.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Microsoft Dataverse

#1
stampcoin Profile Picture

stampcoin 17

#2
mmbr1606 Profile Picture

mmbr1606 15 Super User 2025 Season 1

#3
ankit_singhal Profile Picture

ankit_singhal 11 Super User 2025 Season 1

Overall leaderboard

Featured topics