Show Error Dialog in Microsoft Dynamics CRM style using Xrm.Internal.openErrorDialog

Unsupported still a good one to know

Debajit's Dynamic CRM Blog

By this time many of you might have already explored the Xrm.Internal namespace and displayed your custom webresources in CRM 2013/ 2015 modal style. Well, if you have not, I suggest you check my blog post to explore the Xrm.Internal namespace and i bet you would like it.

Coming back to the topic, if we open our custom webresources in CRM modal style, why not show the custom client side errors in CRM 2013 style? If you are thinking how to to do this, you have to come back to Xrm.Internal namespace and explore its Xrm.Internal.openErrorDialog method.

First let us explore the Xrm.Internal.openErrorDialog method. The following is the nomenclature of this method.

So we can see that it accepts three parameters

  • Error Code
  • Message
  • Serialized Exception

Error Code : If you see the nomenclature, it appends “0x” to the error code. It should be a number. If you enter…

View original post 113 more words


Cortana voice commands for Microsoft Dynamics CRM 2015 for phones

Another great feature with CRM 2015 is ability to speak with your Microsoft Dynamics CRM for phones commands if you are using Cortana on Windows 8.1 phones.

Watch this quick video for an overview about using Cortana voice commands on Windows 8.1 phones:

clip_image001 Microsoft Dynamics CRM 2015 Cortana Demonstration (2:00)

You can use the following CRM voice commands with Cortana. Cortana voice commands for CRM are only available in English at this time.

To do this in CRM

Say this

Open an item

CRM open <item> called <item name>.


“CRM open account called Contoso.”


“CRM open account named Contoso.”

Show a view

CRM show <view name>.


“CRM show my active accounts.”


“CRM show me my active accounts.”

Search for an item

CRM find <item> called <name>.


“CRM find account called Contoso.”


“CRM find account named Contoso.”

Create a new item

CRM create <item type> called <item name>.


“CRM create contact called Maria Campbell.”


“CRM add new contact named Maria Campbell.”

Create a phone call activity

CRM remind me to call <call name>.


“CRM remind me to call Maria Campbell to set up appointment.”

Create an appointment

CRM schedule meeting to <subject>.


“CRM schedule meeting to discuss quote with Maria Campbell.”

Create a task

CRM remind me to <task name>.


“CRM remind me to email Maria Campbell.”


“CRM follow up Maria Campbell.”

“CRM follow up with Maria Campbell.”

“CRM follow up on Contoso.”

Open task list

CRM what should I do next?


“CRM what should I do next?”


The create commands work only with Microsoft Dynamics CRM 2015 and Microsoft Dynamics CRM Online 2015 Update. The other commands work with Microsoft Dynamics CRM 2013 and Microsoft Dynamics CRM Online as well as Microsoft Dynamics CRM 2015 and Microsoft Dynamics CRM Online 2015 Update.

Source: Click here

Hope it helps!


Thanks for everyone who follows my blog and finds it useful.

Just trying to add few small bits missing to my blog arsenal, this blog now officially has a twitter handle. I will be putting more social links

for this blog, to make it easier to find updates.



Here it is : @msdynamicsblog on twitter should help you see me there. I also embedded a link on the side to follow my work on twitter.

Hope it helps!