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 / Set dropdown value fro...
Power Apps
Unanswered

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. 

I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    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.

  • Verified answer
    Nielf Profile Picture
    306 on at

    @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. 

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