Welcome to MSDN Blogs Sign in | Join | Help

Microsoft Dynamics CRM Online Team Blog

This blog is focused on Microsoft Dynamics CRM Online (crm.dynamics.com).

News

  • The views expressed in this blog are those of the individual and do not necessarily represent those of Microsoft. This information is provided by way of general information only and should not be relied on without obtaining independent expert advice. These postings are provided "AS IS" with no warranties and confer no rights. You assume all risk for your use.
Changing the window size for CRM forms

Recently a customer asked me how to open the Accounts form in a larger window.  It's a simple matter of a little bit of JavaScript that I was lucky enough to locate the answer in Ronald Lemmen's blog.

  • Navigate to the main Account form as follows:
    • 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 and make sure that the box for Event is enabled is checked.

//resize window to full screen upon opening Account form

window.moveTo(0,0);

window.resizeTo(screen.availWidth, screen.availHeight);

  • (Below is the screenshot of what this should look like.)
  • Save and close the form, then Publish the entity.

clip_image001

--------------------------------

Posted: Monday, August 04, 2008 8:10 PM by Kevin Williamson

Comments

Microsoft Dynamics CRM Online Team Blog said:

Recently a customer asked me how to open the Accounts form in a larger window.  It's a simple

# August 4, 2008 5:50 PM

Microsoft Dynamics CRM Online Team Blog said:

Recently a customer asked me how to open the Accounts form in a larger window.  It's a simple

# August 4, 2008 5:50 PM
Anonymous comments are disabled
Page view tracker