Tuesday, June 29, 2010

MSCRM: Open Account Window

A CRM client asked: How can I open the Accounts form in a larger window?

Under Customizations, navigate to the main Account form as follows:

* Select Settings > Customization > Customize Entities > Account > Forms and Views > Form > Form Properties

* On the Events tab make sure that OnLoad is highlighted, then click Edit. Paste the following code:

//resize window to full screen upon opening Account form
window.moveTo(0,0);
window.resizeTo(screen.availWidth, screen.availHeight);

* Make sure that the box for Event is enabled is checked.

* Save and close the form, then Publish the entity.

This will open the Account form in a larger window whenever it is opened.

No comments: