Friday, June 26, 2009

Get Field value

Here is an example to get field value in microsoft crm

function GetFieldValue(name) {
var element = document.getElementById(name);
return element == null ? null : element.DataValue;
}
Enjoy,
Rami Heleg

Get Field value

here is an example to get field value for microsoft CRM

Picklist - get title for value

Hi friends,
how to get picklist value,title

here example to create picklist title for specific value.

function GetPicklistTitle(name, value) {
if (value != '') {
var element = document.getElementById(name);
return element == null ? null : element.options[value].text;
}
return "";
}
enjoy
Rami Heleg.

Wednesday, June 24, 2009

Rename Organization name

Hi,
To rename organization name for CRM 4.0...
1. Open database MSCRM_CONFIG, table Organization.
2. This table contains information for all organization.
3. Rename columns UniqueName, FriendlyName to the new organization name.
3. Open ORG_MSCRM database table OrganizationBase.
4. Add to column name the new organization name.

Enjoy,
Rami Heleg.