Category: Development

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.

Development

Why my action is not available through WebApi?

Recently I was working on task where I wanted to use Actions through JavaScript. It was a pretty usual task until I came calling of an action through WebApi. I was able to call that action through SOAP endpoint but every call through WebApi threw an error with message “Resource not found for the segment …

Development, Howto

Dynamics CRM 2013: Step-by-step creating dialog windows

In my previous post, I shared with you how to use Microsoft CRM’s internal function to show a dialog window in Dynamics CRM 2013 inline style. In this post, I will provide a step-by-step guide on how to build your own dialogs in CRM 2013 style.

Development

Show your dialog in CRM 2013 modal style

With CRM 2013, we’ve got one working window without any pop-up windows (lookups, dialogs, e.t.c.). But… only for standard features. What do you do in case you want to use the same approach with the modal windows, as CRM does it? I went through the SDK and found the following article – http://msdn.microsoft.com/en-us/library/jj602956.aspx#BKMK_OpenWebResource. I tried …

Development

Actions: usage of input/output arguments in plugins that handle Actions

The main message is that input/output arguments are available in the InputParameters/OutputParameters’ collections of PluginExecutionContext. Usage of Input argument The following code shows how to check that the Input Argument was passed and got value:

Usage of Output Argument The following code shows how to set the Output argument:

One thing you should …