Archive for the ‘Customization’ Category

I was writing a bit of Javascript yesterday when I noticed something interesting related to the value of the crmForm.FormType property.
The crmForm has a property called FormType, which allows you to distinguish between the different types of forms you may encounter as a user creates or edits a CRM Entity.
When a user clicks the New [...]

On one of my CRM installations I began to notice that the transaction log for the MSCRM database was not shrinking even though it was being backed up properly.  If you don't keep an eye on the physical files, they can grow to huge sizes.
After making a full backup of the database and transaction log, [...]

I was using the SDK to work with inbound CRM email this afternoon and I noticed something interesting with the email.sender field.
It contains both the display name AND the email address, as you can see below:
"Administrator" Administrator@mycrmcompany.com

While ordinarily this would not be a problem, it certainly is if you are expecting only the email address.
I'm not sure [...]

Ben Vollmer posted an article this morning about using the JavaScript Switch statement with a fairly good explanation of how it works and how it can be used as a replacement for the IF statement in certain situations.
That reminded me of a rather unusual Switch statement implementation that is found in the CRM SDK that [...]

As I'm putting the finishing touches on my first commercial CRM Utility, I found the need to obtain a list of CRM Queues so that the user can select one from a combo box, like this:

When working with queues, you need to know two things:
1) The Queue Name ( for the user to see [...]

One of the Microsoft Partners I work with asked if you could launch a Workflow rule when a CRM user changed a specific field on the Opportunity form.  That topic sounded familiar and after digging around a bit, I found a newsgroup post where Steven G had provided just such a solution.  I've reworked Steven's [...]

CRM SDK 3.0.7 Released

The following table describes the release history for the Microsoft CRM SDK
SDK Version 3.0.7, April 2007

New and updated topics
Description of changes

Callout Sample
Added note to the sample code: Microsoft CRM 3.0 callouts must be created with the .NET Framework version 1.1. Visual Studio 2003 supports this version of the .NET Framework.

Configuration File Reference
Added note specifying [...]

If you've ever tried to close a browser window from ASP.NET by using the following code:
 
<input type="button" class="inputfields"
onclick="javascript:window.close();" value="Close" /></td>
You will probably receive the following message:

 
After digging around for 20 minutes or so, I finally found the answer on Anatoly Lubarsky's blog:
 
<input type="button" class="inputfields"
onclick="javascript:window.opener='x';window.close();" value="Close" /></td>

I am working on a project this weekend ( yeah, I know ) where I will be creating a folder in the file system based on the Account Name for an Account within CRM.  Since it is possible to have characters within an Account Name that would be invalid in a file or folder name, [...]

I ran to the above error today assisting another Partner with a custom solution they developed.
Problem
The custom ASP.NET Web application is not configured to use client impersonation. By default, impersonation is disabled in a typical ASP.NET Web application created with Microsoft Visual Studio .NET. Calls to the Microsoft Dynamics CRM Web services must provide valid [...]