Display tooltips for fields in MS CRM – Part 3 (for CRM2011)
Last year I blogged twice about how to dynamically create tooltips in MS CRM. Today I want to share with you a post on how to do this in CRM2011 using jQuery and an XML webresource in which you can specify tooltips per entity and fields. The function below reads the xml file and displays a [...]
Conditionally enable/disable buttons in CRM2011 ribbon
Found this interesting post by (Vikranth Pandiri) about how to conditionally enable/disable buttons in a CRM2011 ribbon based on a value of a field on your form. Instead of using JavaScript you can set these rules directly in the ISV.Config.
See the complete post on howto-mscrm.blogspot.
Error loading external JavaScript file on Win2k8, IIS7.0
I’m using the following code in the entity’s OnLoad event to load an external JavaScript file in MS CRM.
===================================
function LoadFile(url, cache)
{
var httpRequest = new ActiveXObject('Msxml2.XMLHTTP');
httpRequest.open('GET', url, false);
if (!cache) {
httpRequest.setRequestHeader('If-Modified-Since', 'Sat, 1 Jan 2000 00:00:00 GMT');
}
httpRequest.send(null);
return httpRequest.responseText;
}
LoadFile('/ISV/scripts/accounts.js', false)
We recently migrated our CRM Server to Windows 2008, with IIS 7.0.
This worked fine on Windows [...]
Outlook 2011 configuration issue
Last week I installed Microsoft Dynamics CRM 2011 for Microsoft Office Outlook and encountered a peculiar issue. The installation went just fine, but when I tried to add an organization within the configuration wizard I received an error message. When I press "Test connection", it worked just fine, but when I press on OK, it [...]
CRM 2011 Implementation Guide and SDK released
The CRM 2011 Implementation Guide was released a few weeks ago, and it looks like the CRM 2011 SDK has also been released. And the CRM 2011 Developer Training Kit has also been released recently.
Change the form title in MS CRM via JavaScript
In MS CRM the document title and form title defaults to the primary name attribute of an entity. Sometimes you want to display a different name e.g. to display both the account name and account number. The originale idea came from: http://mscrm4ever.blogspot.com/2008/10/finding-crmform-elements-by-css-class.html
I made this function a bit more generic and changed it so you can [...]
Dynamically filter a picklist in MS CRM – Part 2
Last year I wrote an article explaining how to filter a picklist based on another picklist in MS CRM. In this article I’ll explain how to filter a picklist based on an array of values. The original idea for this approach came from Greg Owens on: The CRM Grid – A Microsoft CRM Blog.
I made [...]
How to get the Entity Type Code via the Metadata Webservice in JavaScript
Sometimes you want to fill in a default value in a lookup field. In order to do so you need to specify the Id, Value and Object Type Code, also known as Entity Type Code, of the entity (for an example see gLookupSetField() on our site).
The ObjectTypeCode of custom entities might be different when you [...]
Capturing Web Leads with MS Dynamics 2011
Microsoft Dynamics CRM 2011 has a build-in feature to create landing pages and capture web leads. Patrick Picklesimer wrote a detailed post on Customer Effective about this new feature works but I was not able to find it on their website. Fortunately, I found a copy of that post in my RSS feeds. Here’s the [...]
Execute workflow in JavaScript and wait for it to complete
Sometimes you want to launch a workflow in JavaScript and wait for it to complete. Andriy Butenko wrote a script that would wait for a workflow to complete in JavaScript.
Scenario
Our customer requested that an email would be created via a workflow and that the user is notified immediately when the email is saved so that [...]

