Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Introduction to Custom Development in Microsoft Dynamics CRM 2015

492 views

Published on

Introduction to Custom Development in Microsoft Dynamics CRM 2015

Published in: Software
  • Be the first to comment

Introduction to Custom Development in Microsoft Dynamics CRM 2015

  1. 1. Introduction to Custom Development in Microsoft Dynamics CRM 2015
  2. 2. Agenda  Dynamics CRM SDK  Plug-in Registration Tool  CrmSvcUtil.exe  Developer Resources Page  IDiscoveryService & IOrganizationService Interfaces  FetchXML  Open Source Tools
  3. 3. Dynamics CRM SDK  Writing Server Side Code  Custom Business Logic  Integration Modules  Workflow Assemblies  Plugins Etc.…
  4. 4. Plug-in Registration Tool  Registers & Deploys Plug-ins  Available at SDKToolsPluginRegistration  For all Deployment Types
  5. 5. Plug-in Registration Tool in Action
  6. 6. CrmSvcUtil.exe  Command Line Code Generation Tool  Available at SDKBin  Rely on Microsoft.Xrm.Sdk.dll  Generates Early bound .Net classes, which represents EDM for CRM. Example of Command Line  CrmSvcUtil /url:http://<serverName>/<organizationName>/ XRMServices/2011/Organization.svc /out:<outputFilename>.cs /username:<username> /password:<password> /domain:<domainName> /namespace:<outputNamespace> /serviceContextName:<serviceContextName>
  7. 7. CrmSvcUtil.exe Options  /language:<language>  /url:<url>  /out:<filename>  /namespace:<namespace>  /serviceContextName:<service context name>  /username:<username>  /password:<password>  /domain:<domain>  /deviceid:<deviceid>  /devicepassword:<devicepassword>
  8. 8. Developer Resources Page
  9. 9. IDiscoveryService & IOrganizationService  Available in Microsoft.Xrm.Sdk.dll  IDiscoveryService Namespace is Microsoft.Xrm.Sdk.Discovery  IOrganizationService Namespace is Microsoft.Xrm.Sdk  IDiscoveryService Provides programmatic access to organization and user information.  IOrganizationService Provides programmatic access to the metadata and data for an organization.)  IDiscoveryService has Execute as public method.  IOrganizationService has Associate, Create, Delete, Disassociate, Execute, Retrieve, RetiriveMultiple, Update as public methods.
  10. 10. FetchXML  FetchXML is a proprietary query language of CRM  Based on a schema that describes the capabilities of the language  Can be generated by navigating to Advanced Search then Download FetchXML.
  11. 11. Open Source Tools  XrmToolBox by Tanguy Tauzard - Solutions components management and edition tools, debugging and test tools  SparkleXrm by Scott Durow - For building Dynamics CRM XRM solutions using Script#, jQuery & Knockoutjs.
  12. 12. Thank You!

×