Saturday 11 April 2020

IPlugin interface and Code Activity abstract class




Why the plugins implement IPlugin interface and Workflows (custom) inherits the Code Activity abstract class

IPlugin Interface:

Have only one method i.e. Execute which we have used on our plugin code


Code Activity Abstract Class:

The structure of Code Activity abstract class, you will find it have 35 different methods

Monday 20 January 2020

How to Find the Object Type Code for Any Entity


How to Find the Object Type Code for Any Entity
Every entity in the system will have an Object type code. For easiness of understanding, reason of it as a numbering system for all the entities, regardless if they are out of the box or custom. CRM Object Type Codes are basically split into 2 categories – system entities and custom entities. As a CRM Developer, in many cases you might encounter a situation where you will need to identify the Object Type code for an entity.

Follow the following steps, to identify the Entity name using the Object Type Code:
1.       Login in MS CRM Organization
2.       Open custom entity under any model, like Sales, Service..
3.       Open Existing Record from that entity.
4.       Once existing record is opened, pop out the record by selecting the icon on the top right side of the page.

5
.       Once enlarged, the Object Type Code is placed after the “etc.” equal sign within the URL.