Tag Archives: Retrieve OptionSets Label

How to Retrieve OptionSets Label Text in Dynamics CRM 2011

Calling Below Method as string labelValue = GetOptionSetValueLabel(CrmService, accEntity.LogicalName, “homeroof” , 100001); // Method to retrieve OptionSet label value Private string GetOptionSetValueLabel(IOrganizationService CrmWebService, string prmEntityName, string prmAttributeName, int prmOptionSetValue) { string ReturnLabel = string.Empty; OptionMetadataCollection OptionsSetLabels = null; OptionsSetLabels = … Continue reading

Posted in MS CRM 2011 | Tagged , | Leave a comment