locked
Close a form/window without confirmation CRM 2013 RRS feed

  • Question

  • I'm opening a new window for a different entity using the following with some parameters

    window.open("/main.aspx?etn=ld_statistical&pagetype=entityrecord&extraqs=" + encodeURIComponent(extraqs),"_blank", features, false);

    I'm trying to close it via javascript after calling a save function.

    I've tried the following:

    window.close();  //throws a confirmation

    window.top.close(); //throws a confirmation

    Xrm.Page.ui.entity.save("saveandclose");   //this loads the default dashboard too

    Xrm.Page.ui.close();  //(loads the default dashboard).


    David J

    Saturday, August 16, 2014 5:11 AM

All replies

  • Hi. Maybe this help http://stackoverflow.com/questions/57854/how-can-i-close-a-browser-window-without-receiving-the-do-you-want-to-close-thi
    Saturday, August 16, 2014 8:36 AM