web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How can we re-size the popup window size

(1) ShareShare
ReportReport
Posted on by 4,601

How can we re-size the popup window size when click “open in a new window” (I want specific size for each entity type)

*This post is locked for comments

I have the same question (0)
  • faramendi Profile Picture
    100 on at
    RE: How can we re-size the popup window size

    Hi,

    this solution is not working for me.

    I want to resize a pop up when I create a task from an Entity. New activity --> Task

    I have included this lines in the onload event:

    alert(screen.availWidth +"-"+ screen.availHeight);

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

    the pop up if opened, the alert is showed by it is not resized... any ideas??

  • Suggested answer
    Somesh2207 Profile Picture
    1,563 on at
    RE: How can we re-size the popup window size

    Hi Vatsh_Sandeep,

    I am guessing you are talking about CRM entity forms

    You can have a JavaScript function on form on-load like below:

    //resize window to full screen upon opening form
    window.moveTo(0,0); // start position of window - you can change as required
    
    window.resizeTo(screen.availWidth, screen.availHeight); 
    // You can adjust height and width as required. this example is for fullscreen]


    Let me know if this helps

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
Christoph Pock Profile Picture

Christoph Pock 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans