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

Notifications

Announcements

No record found.

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)
  • Suggested answer
    Somesh2207 Profile Picture
    1,563 on at

    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

  • faramendi Profile Picture
    100 on at

    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??

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans