Tuesday, June 5, 2007

Adding Tab Items more than 8

After the event in Bahrain, a friend from one MS partner located in Bahrain asked me, how can he add more than 8 tabs in a form on Microsoft Dynamics CRM 3.0. As you know there is a limit and normally we can not add 9th tab.

Event was finished then we went to Dubai and I wanted to write a blog about this question.The picture below as can be seen, has 11 tabs. Yes it can be done! But you must do some unsupported customizations.

There is a javascript file that has AddTab() function. The file path is: /root/Tools/FormEditor/Scripts/tabs.js
Also there is a aspx file that has maximum tabnumber property “_iMaxTabs” and its default value is 8. The file path is: /Tools/FormEditor/formeditor.aspx
If you want to add such as 12 tabs, change the _iMaxTabs property from 8 to 12.

/Tools/FormEditor/formeditor.aspx
...
var _bSaving = false;
var _oActive;
var _iMaxTabs = 12;

...

Enjoy!

1 comment:

Anonymous said...

Çoğu projemizde ihtiyacımız oluyordu. Çok kullanışlı bir bilgi olmuş.