Before wave 2 update, below javascript code was opening the new form in pop-up window. But after the update, the same logic is forcing to open the form in new tab in the browser. Is this behavior is part of wave 2 changes?
function openNewRecord(entityType, recordid, parameters) {
try {
var entityFormOptions = {
entityName: entityType,
entityId: recordid,
openInNewWindow: true,
navbar: "off",
};
Xrm.Navigation.openForm(entityFormOptions, parameters);
}
catch (ex) {
//error log
}
}
The parameter openInNewWindow: true is forcing now to open a form in new tab instead of opening it in pop up window.
Our requirement is to open the form in pop up window only.