Script Search Utility for Dynamics CRM 2011/2013

Script Search Utility for Dynamics CRM 2011/2013 addresses some of the following pain points while configuring, documenting and trying to resolve issues related to scripts in Dynamics CRM 2011 and Dynamics CRM 2013. Key features of this application are:

• For documentation purpose, Ability to search script files for specific text in script like unsupported scripts during CRM upgrade
• For documentation purpose, Ability to search scripts for attribute names in CRM scripts.

This tool also lets you copy search result to clipboard.

Download link: Click here

How to use :

Download the doc file, rename it to zip file, extract it and you are done.

For any issues/ bugs, you can connect me directly at –deepeshsomani@hotmail.com

clip_image002

This tool uses the Connection Control for Microsoft Dynamics CRM 2011 which is available at https://connectioncontrol.codeplex.com. I recommend using this tool for anyone who needs to connect to CRM instances be it office 365, on-premise or IFD.

Ask your Query : Click here

Hope it helps!

Advertisements

{Utility}Dialogs Property box in Dynamics CRM 2013 Form

I really used to like the CRM 2011 Dialogs Properties window. If you have forgotten, here is a screen which might make you remember the properties dialog on the form:

image

I just wanted to have a working one in CRM 2013 as well. A little drilling made me understand that is it pretty much available in CRM 2013 as well (in system pages of CRM), so here is what I did:

Step 1:

Embed one html web resource called properties in the Admin forms I Need:

You can directly download doc file from here convert it to html and then upload as html web resource to your forms.

Source code below:

<html xmlns=”http://www.w3.org/1999/xhtml”&gt;

<head>

</head>

<body id=”bodyId” onload=”onload()”>



<script src=”ClientGlobalContext.js.aspx” type=”text/javascript”></script>

<script type=”text/javascript”>

function onload() {

var url = window.parent.Xrm.Page.context.getClientUrl() + “/_forms/properties/properties.aspx?id=” + window.parent.Xrm.Page.data.entity.getId().toString().substr(1, (window.parent.Xrm.Page.data.entity.getId().toString().length – 2)) + “&objTypeCode=” + window.parent.Xrm.Page.context.getQueryStringParameters().etc;

document.getElementById(“tt”).src = url;

}

</script>

<title></title>

//Iframe with id ‘tt’ needs to be embedded here

</body>

</html>

Step 2:

Add a Tab named properties to the form and put web resource inside it.

The screen will look pretty much like the one below:

clip_image002

Note: This webresource is reusable for all CRM entities.

Ask your Query : Click here

Hope it helps!

{Work Around}Issue with Fields locked on form but not in Business Process Area : Dynamics CRM 2013

One of the issues I had noticed earlier with Business process area in Dynamics CRM 2013 during CRM 2013 Rollup 1 was that business process area didn’t take the fields in CRM 2013 Form (specially on load) into consideration while showing field as enabled/disabled, visible/not visible etc. I find the same issue still existent with CRM 2013 SP1 Rollup 1. What I am trying to say is say we need some fields as disabled on the form, CRM 2013 Business process area does not take it into consideration and Business process area is still editable. Look at the scenario in below screen. Here we have the same field in two places, one in the business process area and one on the form, highlighted in red rectangle below. You can notice that the field is disabled on form, but still enabled in Business Process area which just breaks the disabled field in the form:

clip_image002

For Scenarios like this, following a good workaround:

We need to create a business rule without any condition, Refer screen below:

clip_image004

Once this is applied, the field will be locked in both places (Marked in green rectangles):

clip_image006

This is extensible in sense that as we need more disabled fields, we just need to keep it adding to the business rule.

Ask your Query : Click here

Hope it helps!

Business Rules without any condition –Dynamics CRM 2013

I wonder if anybody ever tried this before. Often we need to trigger a business rule on form irrespective of the form values, something which always needs to be done. In CRM 2013, one of my colleagues pointed out to me that there is no actual need of putting any If condition. So I tried it with account name field, showing error message at all times on Account name field in Account entity. First I tried if Business rule will be allowed to be saved and activated. To my surprise, it is allowed in CRM 2013, just have a look below:

clip_image002

The next thing to check was what is going on in the Account form now. It had the error message as soon as I opened the form, which was permanently there(Look at highlighted rectangle in red):

clip_image004

So, whenever you want to trigger a business rule without any condition, it is possible to do so.

Ask your Query : Click here

Hope it helps!