Tuesday, November 3, 2009

Customization import issue

CRM Error Detail

Failure: new_a: An entity with the specified name already exists. Please specify a unique name.

Exception Details

Event Type: Error
Event Source: MSCRMWebService
Event Category: None
Event ID: 19457
Date: 11/2/2009
Time: 12:54:52 PM
User: N/A
Computer: X
Description:
Customization Import failed. Error: Entity with id f3ee04fd-0c82-4b8d-bfe2-9e53048cdd7a already has the label Entity1 for column LocalizedName and language 1033 - update entity with id ec7aa714-7cdd-4ec4-ae57-bef3288c93ec cannot have the same label

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Reason
An entity with the same display name as that of new_a entity (ie Entity1) exists already, even though the entity's schema name is different from new_a.

Solution
Change the display name of the existing entity or the entity being imported.

Sunday, November 1, 2009

Getting MS CRM 4 form menu item positions

A javascript tool to help one identify the position of CRM menu items on the crm form.

Once the position number is identified, one can do the following
1. Either set any property for that item like hiding a menu item
2. or get to know the available properties of a menu item through VS quick watch.

Deployment steps
1. Copy the html and js files to ISV folder
2. Insert the following line in the on load event of the required entity.
window.open('/ISV/DisplayMenuItemPostion.html');

To download click here