Hi,
I have a dropdown control which pulls data from a SharePoint list. I would like the dropdown box to display the city name (City.Name) and pass the value of that city name (City.ID) onto a gallery, which will be filtered based on the City.ID, not the City.Name.
In the "Advnaced" tap for the dropdown, I've tried to set the Items to City.Name and the Value to City.ID, but when I set the Item to the Name, it forces the Value to Name as well, and won't let me manually set the Value. I've tried several other solutions I've found on the forums and don't seem to grasp what I am doing wrong. Can someone please point me in the right direction?
Thank you.
Hey @powerappstx
This is my configuration:
Dropdown box:
Items: Portfolio.Store (ex: New York, NY)
Default Value: MyDept (which is global variable. ex: "1000")
My problem is when I go to change the "Value" for the dropdown it only shows "Store" as an option. I'm allowed to change it.
Hey @powerappstx
If yashag2255's reply doesn't fit for your scenario, you could try using a combo box. These objects are much more flexible.
Right, so this gets me back to where I was.
Dropdown:
Items = Portfolio
Selected = ID
However, I would like the Display value of DropDown to equal a friendly name vs the ID.
Example:
City Table (SharePoint):
City Name: ID:
New York 1000
Boston 2000
MyDept (Global Varible, O365 Dept Value)
I'd like this behavior:
DropDown:
Item Display = CityTable.City Name
Item Value = CItyTable.ID
Selected = MyDept
Essentially, I want the MyDept value to do a lookup into the City Table and display the City Name, not the City ID.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.
User | Count |
---|---|
200 | |
97 | |
56 | |
51 | |
42 |
User | Count |
---|---|
264 | |
157 | |
83 | |
80 | |
57 |