Closed nsksaisaravana closed 1 year ago
it is a picklist/option set value and will need to be assigned an option set type of value - instead of setting it to an int32 value of 1, assign it the following value which should be of the right type.
(New-CrmOptionSetValue 1)
tons of thanks, working fine.
Set-CrmRecord -conn $conn -EntityLogicalName contact -Id "xxxxxxxxxxxxxxxxxx" -Fields @{"gendercode"=1 }
I am using the above command to set value but it fails