Archives by Tag 'Microsoft'

CRM Workflow Manipulation Library

By Carlton Colter - Last updated: Thursday, July 8, 2010

The CRM Workflow Manipulation Library is now on CodePlex. The CRM Workflow Manipulation Library for CRM is a set of custom workflows for OnPremise Microsoft Dynamics® CRM to solve equations, manipulates strings, perform regex (regular expression) formatting and matching, as well as SoundEx and Metaphone-Like codification.

Click to continue reading
Click Here To View Post With Syntax Highlighting

Workflow: Geocode (and correct) Addresses with Bing Maps

By Carlton Colter - Last updated: Thursday, May 20, 2010

Bing Maps are great. You can geocode and correct your addresses. While this isn’t anything complicated, it is a good example of a custom workflow that uses an external webservice.

Click to continue reading
Click Here To View Post With Syntax Highlighting

Adding the queue name to a saved advanced find for cases (incidents)

By Carlton Colter - Last updated: Thursday, February 18, 2010

Unfortunately, CRM does not currently support adding the queue to a case advanced find. However, that doesn’t mean it can’t be done. Follow the steps in this article to modify your fetchXML and your layoutXML to have the queue name show up in the advanced find.

Click to continue reading
Click Here To View Post With Syntax Highlighting

Lookup a lookup on another entity using JScript

By Carlton Colter - Last updated: Thursday, October 15, 2009

Do you need the value of a lookup? I have written this bit of code to look a lookup value stored on another entity. Like finding the Customer lookup on an Incident (Case). Here is a bit of code that can lookup a lookup on any entity in CRM.

Click to continue reading
Click Here To View Post With Syntax Highlighting

CRM Common Javascript File

By Carlton Colter - Last updated: Tuesday, October 13, 2009

Need to reference an external javascript file to make functions available in change events and in an onload? Here’s how!

Click to continue reading
Click Here To View Post With Syntax Highlighting

Editing an Advanced Find Query in Excel

By Carlton Colter - Last updated: Monday, October 12, 2009

Here is a video tutorial of how to take a case advanced find, edit the query, troubleshoot errors in SQL Management Studio, and update your excel query.

Click to continue reading
Click Here To View Post With Syntax Highlighting

Changing PickList Values on Yes/No Form Field Change

By Carlton Colter - Last updated: Saturday, October 3, 2009

Recently on the Microsoft forums someone asked how to change the values of a picklist based on the yes no value of a boolean field. Just add this script to the OnChange event of the yes/no field.

Click to continue reading
Click Here To View Post With Syntax Highlighting

Set a default email template for new emails on cases.

By Carlton Colter - Last updated: Friday, October 2, 2009

In response to Peter Bergman’s post on the CRM forums, I traversed Microsoft’s code. I determined that the ApplyTemplate loads a specific page, and on that page, the ok button sets the information on the calling page. I melded the ApplyTemplate and ok methods together to create LoadTemplate provided below. With the right parameters, it will set the default template.

Click to continue reading
Click Here To View Post With Syntax Highlighting

Remove special characters on value change.

By Carlton Colter - Last updated: Thursday, October 1, 2009

This blog entry contains some helpful information about removing special characters from a string using javascript. I was able to modify it to be just a few of code in an onchange event. Just rename new_name to the attribute your correcting.

if (crmForm.all.new_name.DataValue && crmForm.all.new_name.DataValue.length >0)
{
crmForm.all.new_name.DataValue = crmForm.all.new_name.DataValue.replace(/[^a-zA-Z 0-9]+/g,'');
}

Click Here To View Post With Syntax Highlighting

QueueItem RSS – An Example Of CRM RSS

By Carlton Colter - Last updated: Wednesday, September 30, 2009

The Notification Accelerator on Codeplex does not offer a queueitem RSS feed. I’m not sure why, but here is a simple solution to display an RSS feed. It defaults to the current user’s queues, but if the q=blah is specified in address then all queueitems in any queue with blah in it will be displayed.

Click to continue reading
Click Here To View Post With Syntax Highlighting