Introduction to Custom Development in Microsoft Dynamics CRM 2015

12
Introduction to Custom Development in Microsoft Dynamics CRM 2015

Transcript of Introduction to Custom Development in Microsoft Dynamics CRM 2015

Page 1: Introduction to Custom Development in Microsoft Dynamics CRM 2015

Introduction to Custom Developmentin

Microsoft Dynamics CRM 2015

Page 2: Introduction to Custom Development in Microsoft Dynamics CRM 2015

Agenda Dynamics CRM SDK Plug-in Registration Tool CrmSvcUtil.exe Developer Resources Page IDiscoveryService & IOrganizationService Interfaces FetchXML Open Source Tools

Page 3: Introduction to Custom Development in Microsoft Dynamics CRM 2015

Dynamics CRM SDK Writing Server Side Code Custom Business Logic Integration Modules Workflow Assemblies Plugins Etc.…

Page 4: Introduction to Custom Development in Microsoft Dynamics CRM 2015

Plug-in Registration Tool Registers & Deploys Plug-ins Available at SDK\Tools\PluginRegistration For all Deployment Types

Page 5: Introduction to Custom Development in Microsoft Dynamics CRM 2015

Plug-in Registration Tool in Action

Page 6: Introduction to Custom Development in Microsoft Dynamics CRM 2015

CrmSvcUtil.exe Command Line Code Generation Tool Available at SDK\Bin 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>

Page 7: Introduction to Custom Development in Microsoft Dynamics CRM 2015

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>

Page 8: Introduction to Custom Development in Microsoft Dynamics CRM 2015

Developer Resources Page

Page 9: Introduction to Custom Development in Microsoft Dynamics CRM 2015

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.

Page 10: Introduction to Custom Development in Microsoft Dynamics CRM 2015

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.

Page 11: Introduction to Custom Development in Microsoft Dynamics CRM 2015

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.

Page 12: Introduction to Custom Development in Microsoft Dynamics CRM 2015

Thank You!