Archive for March, 2006

It would appear, that my neighbors neither enjoy nor approve of the freedom I get from my washing my Ford truck in my new man-thong.
It would also appear that the Coppell constabulary have an equal lack of understanding.
I mean, come on. How was I supposed to know those kids would be outside playing in the [...]

Choices, Choices, Choices

So it's a beautiful data here in Coppell, Texas and I decide to wash the bird poop and accumulated grime off the old Ford pickup.
The last time I washed my truck I accidentally dropped on the ground, the spray-nozzle thingy that inherited from the previous homeowner. Since it was about 10 years old, it fractured and [...]

In the article, Including custom JavaScript files in MSCRM 3.0, I discussed using an external JavaScript code library to help reduce maintenace costs.  Seemed like a good idea, at the time.  Then I got to thinking about the CRM Laptop client and how it is disconnected from the main CRM server and realized that I [...]

I think that one of the most underutilized CRM data types is the BIT field.  Most people are thinking bit = on/off, 1/0, etc., and they would be correct.  But what the most facinating thing about this data type is how you can display it.
Once you have created the Attribute and added it to the Form, double-click on the [...]

Let me state up front that I really don't know how practical this code will be, but I did it as an intellectual exercise and because I figured that the project that I am currently working on would need it at some point. 
Note: If you copy the following code for use in CRM, copy it to [...]

You may have noticed that when you create a Quote for an Account, much of the Account's data does not get populated into the Quote fields. Ship-To addresses are a perfect example.
This is caused by not having the Entity Mapping between Account and Quote fully populated. 
To change this, you need to alter the Entity Mapping by performing [...]

I was browsing the CRM 3.0 SDK the other day and ran across the following little tidbit:
Another improvement in scripting is that when you edit scripts, all formatting is retained to improve readability and maintainability.
Note   Use of /* … */ style comments is preferred in scripts.

If you didn't know, JavaScript supports two kinds of comments:

Block: /* [...]

I was experimenting with the form control property .DefaultValue last night and found, much to my surprise, that it doesn't work.
From the CRM 3.0 SDK:
{Field}.DefaultValue 
Get/set property.
Specifies the default value for the field.
Ideally, you would put the following code into the Form OnLoad event:
/* if the form type is Create */ 
if(crmForm.FormType == 1)
   crmForm.all.new_myfield.DefaultValue ='Purple';
But, as I [...]

I'm still in CRM customization heck.  I have no beer at home and I only drive by the beer store every day on the way to the customer's site, but I'm too damn tired and lazy to stop and pick some up on the way home.
Tonight, about 9:00pm, I figured I still had at least [...]

Ben Vollmer had an excellent post on how to hide navigation items using a bit of JavaScript.
I decided to put that into play tonight to remove the Sub-Accounts navigation option when the user displays the Account screen. We don't want Sub-Accounts on this solution so the following code will remove it.
Just put it into the [...]