Skip to main content

Notifications

Announcements

No record found.

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

  • faramendi Profile Picture
    faramendi 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
    Somesh2207 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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans