Customization and programming tricks by Ronny Van der Snickt

Extra options in optionset after import

After importing the product entity into a new organization I noticed something weird.

In my development environment I deleted all the options of the product type options set and created 2 new ones.

I exported this entity (unmanaged) and imported this in another clean organization.

The end result was that the product type had 6 options. The 4 default options and my 2 new once.

Which is kind of strange because I thought options get replaced when you import a solution. In this case the options merged.

I tried to reimport the same solution in the same organization again. Now I had only 2 options sets left.

So importing the same solution 2 times gives you different options sets. So again something extra to check when importing/exporting organizations…

Show subordinate records after merging accounts

First create an IFrame on your form, this will contain the associated view. In my case I’m using the account entity.
Read more »

Speed up development with external JavaScript files

When creating complicated JavaScript for MS CRM it can be easier to place your code in an external JavaScript file while developing. This content of this file will be loaded and executed in the onload event of the form.
Read more »