Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

updating-a-contact-entity-does-not-show-picklist-text-in-crm

$
0
0

I am using the latest .NET 6 projects to add and update accounts and contacts.

microsoft.powerplatform.dataverse.client\1.0.9\

var contactUpdate = retrievedContact.Entities[0];

contactUpdate["address1_stateorprovince"] = "OR";
contactUpdate["address1_country"] = "USA"; 

serviceClient.Update(contactUpdate);

The address1_stateorprovince and address1_country are updated to the CRM sandbox and are able to be retrieved correctly, however, the controls do not display the value OR (Oregon) or USA (United States) in the CRM backend? I can set the value from the option list if I manually set the control.

How do I update the option value so the label will display in the control in the CRM backend.


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images