
I am trying to take Optionset value as the Items in the blank horizontal gallery using below code.
Choices('Work items (Accounts)')
The problem I'm facing here is, Values are not displaying properly as shown below
"This data type is unsupported for evaluation" showing as Value
Can some one help me on this please? How to take optionset value in gallery?
Thanks in advance!
Hi @Mudassar_SZ365 ,
Thanks for the reply!
I used the same code as you said. With that, we can show values in labels.
I used below code On Strat of the App:
ClearCollect(
WICOL,
Filter(
Choices('Work items (Accounts)'.New),
Text(Value) <> "Inprogress"
)
);
Clear(COLWISeq);
ForAll(
Sequence(CountRows(WICOL)),
Collect(
COLWISeq,
{
Value: Last(
FirstN(
WICOL,
ThisRecord.Value
)
).Value,
RowNo: Value
}
)
);
For left and Right Navigation, When I used the same code value in the patch function to update the record. It is not able fetch the value of current item value.
I used below code for that;
Patch(Accounts,ThisItem,{'Work items':{Value:LookUp(COLWISeq,RowNo = Value(RowNo_LBL.Text)+1).Value}})
Can you please help me to sort this issue?