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

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 474

#1
Valantis Profile Picture

Valantis 474

#3
WarrenBelz Profile Picture

WarrenBelz 375 Most Valuable Professional

Last 30 days Overall leaderboard