Javascript 在弹出窗口中打开实体窗体

Javascript 在弹出窗口中打开实体窗体,javascript,forms,dynamics-crm-2015,Javascript,Forms,Dynamics Crm 2015,我可以使用打开一个新的实体表单 Xrm.Utility.openEntityForm("account"); 我试过使用 var features ="location = 1, status = 1,Popup,scrollbars=1, resizable=1, directories=1, toolbar=1, titlebar=1, width=600, height=600"); window.open("/main.aspx?etn=account&pagetype=en

我可以使用打开一个新的实体表单

Xrm.Utility.openEntityForm("account");
我试过使用

var features ="location = 1, status = 1,Popup,scrollbars=1, resizable=1, directories=1, toolbar=1, titlebar=1, width=600, height=600");

window.open("/main.aspx?etn=account&pagetype=entityrecord", "_blank", features, false);
但是它不起作用,是否有更好的方法使用
窗口。open
在新窗口中以设置的大小打开新的帐户表单

谢谢

,因为它从7.1版开始就受到支持

Xrm.Utility.openEntityForm(name, id, paremeters, windowOptions);
                                                 ^^^^^^^^^^^^^

最后一个参数应该是
{openinnewindow:true}

您是否尝试过使用这里提到的
openEntityForm
windowOptions
?嗨,Alex,谢谢,但是我怎么能给它一个固定的尺寸呢?不幸的是,这不包括在功能中。我希望新窗口总是足够大,可以看到表单。。。