Hey guys :),
Im trying to get the ID from a dataverse Choices list.
The Command --> Concat(Choices('Business Software'); Value & ";" ) returning only the labels but i need the ID's.
Output:
Photoshop;
What i need:
879.200.000;
Thank your for your help
Regards Jan
Solved! Go to Solution.
@Jan-Ph ,
There is a way to get want you need. I don't know if this is what you need, but here a small example how to get it.
Use a gallery with items property set as:
Choices('Business Software')
Inside Gallery use a label control with Text property set to:
ThisItem.Value
And set the onSelect Property of the gallery to:
UpdateContext({ChoiceID:JSON(ThisItem)})
Outside the Gallery insert a label control with the text property set to:
ChoiceID
You screen should look like:
where the ID you are looking for is inside ChoiceID variable 😊
Hope it helps !
@Jan-Ph ,
There is a way to get want you need. I don't know if this is what you need, but here a small example how to get it.
Use a gallery with items property set as:
Choices('Business Software')
Inside Gallery use a label control with Text property set to:
ThisItem.Value
And set the onSelect Property of the gallery to:
UpdateContext({ChoiceID:JSON(ThisItem)})
Outside the Gallery insert a label control with the text property set to:
ChoiceID
You screen should look like:
where the ID you are looking for is inside ChoiceID variable 😊
Hope it helps !
@Jan-Ph ,
There is a way to get want you need. I don't know if this is what you need, but here a small example how to get it.
Use a gallery with items property set as:
Choices('Business Software')
Inside Gallery use a label control with Text property set to:
ThisItem.Value
And set the onSelect Property of the gallery to:
UpdateContext({ChoiceID:JSON(ThisItem)})
Outside the Gallery insert a label control with the text property set to:
ChoiceID
You screen should look like:
where the ID you are looking for is inside ChoiceID variable 😊
Hope it helps !
User | Count |
---|---|
251 | |
102 | |
94 | |
48 | |
37 |