Category: Development

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:

 

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.

Development

Quick and dirty way to get current record Object Type Code

Sometimes you need to get Object Type Code of current opened record. Yes, it’s safer to use supported ways like call to metadata through endpoints but sometimes you can ignore that recommendation. So the trick is:

 

Development

Developer Toolkit for Dynamics 365 (public beta 1) – what’s new?

Earlier this week public beta of Developer Toolkit was released. It became a great surprise because tool haven’t got any updates or improvement since SDK for Dynamics CRM 2013. Tool is available for download by this link.