web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : af2U6bpZGWso1OeUyhALt8
Power Apps - Building Power Apps
Answered

Changing Dropdown values from Sample to Custom Values

Like (0) ShareShare
ReportReport
Posted on 16 Oct 2018 19:53:31 by

My Powerapp is connected to a SharePoint List to store it's field data.  One of the fields is Request Status and it is a Single Line of Text.  I have it in my form and want to change it to a dropdown.  I have unlocked the Datacard and deleted the single line of text datacard value and then added a dropdown control.  I changed the Update Property to ddRequestStatusNew.Selected.Value which is the name of the new dropdown.  The default values are 1, 2,  and 3.  I noticed that the Items property of the dropdown control is set to DropDownSample and obviously this would need to be changed.

 

I want to replace the DropDownSample with custom values like New, On-Hold, In-Progress, Closed.  Can I add this in a formula in PowerApps or do I have to create a custom list in SharePoint and have it point to that list to receive the item choices?  I know in infoPath, you could set these values in the dropdown control or you could have the values come from a SP list).  For something this simple, I was hoping that the option for managing it in the PowerApps dropdown control would be easier.

Categories:
  • Verified answer
    SJ-15052312-0 Profile Picture
    417 on 16 Oct 2018 at 20:46:34
    Re: Changing Dropdown values from Sample to Custom Values

    Your solution is better if you don't plan to use that collection anywhere else.  Mine wastes more space.

  • PowerAid Profile Picture
    on 16 Oct 2018 at 20:45:04
    Re: Changing Dropdown values from Sample to Custom Values

    @samuelJ wrote:

    Not sure if there is a quicker way, but you can create a collection with your desired values and set that to be the items in the drop down.

    Create a collection:

    ClearCollect(myCollectionName, {Name:"on-hold"},
    {Name:"passed"},
    {Name:"Not-passed"});

    Then set the items propery of your drop down to be "myCollectionName.Name".


    I just figured out that you can type ["New","In-Progress","On-Hold","Closed"] in the Items property of the dropdown control.  I wonder what the pros and cons are of the two options.

  • SJ-15052312-0 Profile Picture
    417 on 16 Oct 2018 at 20:26:21
    Re: Changing Dropdown values from Sample to Custom Values

    Not sure if there is a quicker way, but you can create a collection with your desired values and set that to be the items in the drop down.

    Create a collection:

    ClearCollect(myCollectionName, {Name:"on-hold"},
    {Name:"passed"},
    {Name:"Not-passed"});

    Then set the items propery of your drop down to be "myCollectionName.Name".

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2