Wednesday, 3 July 2013

Microsoft CRM 2011 - Interfaces - IOrganization, IWorkflowContext, IDiscovery, IExecutionContext


Today we will see some of the basic information about Microsoft Dynamics CRM 2011 Interfaces which is the key part of developing Custom services, Plugin, Custom Workflow etc.


IOrganizationService

This is an Interface which provides programmatic access to the metadata and data for an organization. This contains the methods that you must be used in order to write code that uses all the data and metadata in Microsoft Dynamics CRM.
To use this webservice, Microsoft.Xrm.Sdk.dll assembly needs to be added in Visual studio Project.
To work on other Non-core Xrm Messages, Microsoft.Crm.SdkProxy.dll needs to be added in VS project.

IDiscoveryService

This is an Interface which Provides programmatic access to organization and user information.
The IDiscoveryService Web service is used to determine the organizations that a user is a member of, and the endpoint address URL to access the IOrganizationService Web service for each of those organizations. This discovery service is necessary because Microsoft Dynamics CRM 2011 is a multi-tenant environment, a single Microsoft Dynamics CRM server can host multiple business organizations. By using the discovery Web service, your application can determine the endpoint address URL to access the target organization’s business data.

To use this webservice, Microsoft.Xrm.Sdk.Discovery assembly needs to be added in Visual studio Project along with Microsoft.Xrm.Sdk.

IWorkflowContext

This is an Interface which Provides access to the data associated with the process instance.
This IWorkflowContext is used to develop the Custom workflow process for both onpremise and online.
To use this webservice, Microsoft.Xrm.Sdk.Workflow assembly needs to be added in Visual studio Project.

IExecutionContext

Base interface that defines the contextual information passed to a plug-in or custom workflow activity at run-time.

IOrganizationServiceFactory

This is an Interface which Represents a factory for creating IOrganizationService instances.

 

  

Thanks .... Enojy !!!!!!!!!!!!!!!!

 

Feel free to post you comments if you need any help.


No comments:

Post a Comment