Hello,
In a c# plug-in, i try to get the value of a field with logical name "asip_categorie", type Picklist (OptionSet).
Data is filled in asip_categorie.
The method GetAttributeValue returns null and i get an exception. Why?
Code :
if (context.InputParameters.Contains("Target") && context.InputParameters["Target"] is Entity)
{
Entity entity = (Entity)context.InputParameters["Target"];
var Categorie = entity.GetAttributeValue<OptionSetValue>("asip_categorie");
...
*This post is locked for comments
I have the same question (0)