I'm trying to set (C#) value of a OptionSetValue field in a entity. While the entity is created and simpler fields (int/strings/...) are set, the OptionSetValue is null.
I followed the helper code here: https://msdn.microsoft.com/en-us/library/hh547435.aspx
Are there any tricks to it? May the int value I'm trying to set wrong; would it result in a null value if it expects value (for instance) 852000000-852000008 and I set it to a simple "2" (int value 2, not string).
*This post is locked for comments
I have the same question (0)