Blog

Development, Howto

How to get Object Type Code of entity using WebApi

If you need to get Object Type Code of entity based on Logical Name of entity you can use following code:

 

CRM Extensions, Tools

Ultimate Workflow Toolkit v1.0.0.0

Since time I started to work with Dynamics CRM (back to 2008 and v4.0) I was wondering why many operations that are available from UI not available in OOB Workflows. In latest release (v8.2 or Dynamics 365) Microsoft added couple of operations: I did a quick look on the list and tried to use it. …

Development, Howto

How to call Rollup of Activities using WebApi

Following code can be used to retrieve collection of ‘rolled up’ activities for couple of standard entities (account, contact and opportunity). You can find detailed description here.

 

Development, Howto

How to close Quote as Won using WebApi

Following code can be used to close Quote as Won using JavaScript and WebApi:

 

Development, Howto

How to close Opportunity as Won using WebApi

Following code can be used to close Opportunity as Won using JavaScript and WebApi:

 

Development, Howto

How to Merge records using WebApi

Following code can be used to merge records using JavaScript and WebApi:

 

Development, Howto

How to Fulfill Sales Order using WebApi

You can use following code to Fulfill Sales Order using JavaScript and WebApi:

 

Development, Howto

How to Close Case using WebApi

Following JavaScript code can be used to Resolve Incident using JavaScript and WebApi:

 

Development

Migrating apps from Microsoft.Xrm.Client to Microsoft.Xrm.Tooling

Today I had a task to migrate couple of apps that used Microsoft.Xrm.Client assemblies to new Tooling assemblies. In this article I will describe steps to use to migrate your own apps to use latest (and recommended) tools to connect to your CRM Instances from code.