cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ngct
Frequent Visitor

Dropdown list default

Hi All, in my app, there is a dropdown function.

May I ask is there a way to achieve the below, 

 

Default value: ThisItem.ID

Dropdown list: ["A","B","C"]

 

ngct_0-1658492420381.png

 

In this case, I have no much idea where the ["A","B","C"] should be put.

 

Many thanks if you have any idea on this.

 

11 REPLIES 11

@ngct 

 

As @WiZey says, you should check on Default property where you defined ThisItem.ID

 

I don't know what ThisItem.ID is in your case, but if you are using SharePoint's out of the box ID, then the out of the box ID will actually be a number, it will never be A, B, or C.  If that's the case, the Default set to ThisItem.ID will have no effect.


Make sure that the actual formula that you have for Default, whether it's ThisItem.ID or anything else, is something that actually returns the value of either A, B or C. Or, you can also change the ["A","B","C"] to be more inclusive of the possibilities of what the "Default" could be.

 

In my sample app, "ABRACADABRA", notice how sometimes I have letters like "R" in there. Letters like that have no effect and translate to "A" in my sample app because "R" is not "A","B",or"C". Similarly, a number like "1","2","3" or any other number is not "A","B",or"C" and thus you'll see the default staying at "A".

 

Check if it helps @ngct.

 

@poweractivate , I have followed your sample and apply to my model. It is brilliant and working.
I think I made some mistakes on the steps before.

 

Really appreciated with your detailed instructions and sample app!! It is really helpful

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

Top Solution Authors
Top Kudoed Authors
Users online (1,310)