Sunday, March 16, 2008

Importing customizations error

In one of my previous blog’s I mentioned some tips before you could export/import customizations. If you haven’t read it, it’s here.

One of the points I mentioned was - to publish both the entities together when you created a relationship between them. In case you published only one of the two and engage yourself in export/import operations, it would export the customizations, but while importing it display’s a failure message:

Failure:
new_account_contact : Invalid Argument.

new - is the prefix
account - is entity1
contact - is entity2; Just to make it clear to the new comers.

Looking at the error above one is pretty convinced that the error has occurred between a relationship, as you can see two entities involved; exact failure error message not mentioned. This happens when you don’t publish both the entities together when you create a relationship between them. Sometimes not doing this may fume your brains.My personal comment on this- if CRM does not allow importing customizations when there is an un-published relation, it should have checked before exporting the customizations. Sometimes software developers do get silly. I being a developer have experienced.
Expect a patch probably?