Category: Development

Development, Howto

Microsoft Dynamics 365 v9.0: Usage of new OOB WebApi functions – Part 1

It was anounced earlier that wrapper for usage of WebApi will be available as a part of v9.0 release. Now v9.0 is released so it became possible to check what can it do and what we can do with it.

Blog, Development, Howto

HowTo: Log all inputs of your custom worflow activities in generic way

For couple of months I work on my Ultimate Workflow Toolkit. For those who doesn’t know what is it (especially for power users and consultants who doesn’t write code but like build and use workflows) – it is a toolkit that contains steps for workflows to extend list of basic operations. To make troubleshooting of …

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.