Skip to main content

generate OptionSet Class through SDK. CRM 2016

In this article I am generating  OptionSet Class through SDK. CRM 2016

Please follow the steps.

You can add this class in your plugin and custom C# project. 

Step 1:



Step 2:


Step 3:


Step 4:


Step 5:


Step 6:





Step 7:


   Step 8:
  

Command:

CrmSvcUtil.exe /codewriterfilter:"Microsoft.Crm.Sdk.Samples.FilteringService, GeneratePicklistEnums" /codecustomization:"Microsoft.Crm.Sdk.Samples.CodeCustomizationService, GeneratePicklistEnums"  /namingservice:"Microsoft.Crm.Sdk.Samples.NamingService, GeneratePicklistEnums" /url:http://crm-02:5555/dynamicscrm/XRMServices/2011/Organization.svc /out:OptionSets.cs /interactivelogin:true

You need to change the highlighted service url.

Comments