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 / Getting a form dropdow...
Power Apps
Answered

Getting a form dropdown to use SP List and a Collection

(0) ShareShare
ReportReport
Posted on by 546 Super User 2024 Season 1

I'm trying to get a form's Dropdown (I set the form's field as an Allowed Values type) to display text from a collection but store the ID of the collection item in the SP list when submitting the form but I can't get it to work properly.

 

When the screen that the form is on becomes visible, a collection is built of milestones that belong to this project.  The collection just contains the ID and the Title from the SP List of Milestones, filtered to the project #.

 

The field's Allowed Values is set to the collection name.

 

The Update property is set to the DataCard##.Selected.ID

 

When I change the value in the dropdown and Submit, the update to the record stores the ID (number) of the selected dropdown item, so this is working correctly.

 

The part that I can't figure out is the Default property.  I'm trying to get it to display the Title of the corresponding collection's ID but for the life of me I can't figure it out, it always just displays the 1st title of the collection.

 

Any thoughts?

 

Categories:
  • Verified answer
    zuurg Profile Picture
    546 Super User 2024 Season 1 on at

    Not sure if there's something wrong with the Allowed Values form field type but I fixed it by deleting the Dropdown that had been added and adding in a combo box instead.  It now reads & writes the data properly.

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 232 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard