-
MSCRM 3.0 Address Record Longitude and Latitude
In case you've never looked, the various CRM Entities that contain address information also have Attributes for Longitude and Latitude, though they are not generally shown on the data entry forms.
This evening, I was doing some research regarding populating those Attributes for Marketing Searches when I noticed a problem:
They have a minimum value of 0 and a maximum value of 1,000,000,000.00.
Why is this a problem, you ask? Well, mostly because of the following:
- Longitude values must be from -180 to 180 degrees
- Latitude values must be from -90 to 90 degrees
This means that users will not be able to input data for some parts of the planet.
To correct the problem, edit each attribute and reset the minimum and maximum values to those listed above.
Customization, Dynamics CRM 833 views -
Changing Label Attributes on a MSCRM 3.0 Form
The labels for data entry fields on CRM 3.0 forms can normally only be set to the following values: Normal, Hidden, or Disabled. Not a whole lot of functionality there should you wish to get inventive ( or at least, more descriptive ) with your forms.
Using a bit of JavaScript in the Form's OnLoad event, you can alter the labels in a variety of ways.
Changing the Weight of the font ( how dark it is ):
crmForm.all.[field name]_c.style.fontWeight = 'bold';
Possible values:
normal, bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900
Changing the Font Style:
crmForm.all.[field name]_c.style.fontStyle = 'italic';
Possible Values:
normal, italic, oblique
Changing the Background Color:
crmForm.all.[field name]_c.style.backgroundColor = 'green';
Possible Values:
Named or value color
Changing the Font Color:
crmForm.all.[field name]_c.style.color = 'green';
Possible Values:
Named or value color
Other style elements do exist, but to keep in mind that your changes do not need to vary the CRM user experience too much.
References:
Hiding a Form Field Label in MSCRM 3.0
Customization, Dynamics CRM 1,329 views



