Hi All - anyone know the syntax for a Dataverse choice column in a patch ?
All I want to do here is change the status column VPStatus. It is a choice column with 2 options.
I've Tried every obvious scenario - can't seem to get it right.
Error: This type of argument does not match the expected type OptionSetValue type error ....
thx
This is my problem {VPStatus: 472340001}
---------------------------
Patch(
ValuePacks,
LookUp(
ValuePacks,
'VP Name'= DataCardValue1.Value),
{VPStatus: 472340001}
)
I got it!
Patch(
ValuePacks,
LookUp(
ValuePacks,
'VP Name'= DataCardValue1.Value),
{VPStatus: VPStatus.Closed}
)
WarrenBelz
146,651
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional