Quantcast
Channel: Microsoft Dynamics CRM
Viewing all articles
Browse latest Browse all 154803

Forum Post: RE: Issue with mapping Potential Customer field from Opportunity in workflow

$
0
0

For picklists, CRM has optionset datatype. You need to map the picklist to optionsets.

You just need to worry about the numeric value of the optionset.

Here is sample code.

OptionSetValue myOptionSet = new OptionSetValue();

myOptionSet.Value = xxxx  //xxxx represents the numeric value of the option in crm.

myEntity.Attributes["optionSetAttributeName"] = myOptionSet;


Viewing all articles
Browse latest Browse all 154803

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>