打开主窗体而不是快速创建窗体 - CRM

Opening Main form instead of Quick create form - CRM

我有从帐户打开报价快速创建表格的功能,但它打开了报价主表格。我应该更改什么才能打开快速创建表单?

var thisAccount = {
entityType: "account",
id: Xrm.Page.data.entity.getId()
 };

 var callback = function (obj) {
    console.log("Created new " + obj.savedEntityReference.entityType + " named '" + obj.savedEntityReference.name + "' with id:" + obj.savedEntityReference.id);
 }

var setName = { name: "Quote made by " + Xrm.Page.getAttribute("name").getValue() };
 Xrm.Utility.openQuickCreate("quote", thisAccount, setName).then(callback, function (error) {
    console.log(error.message);
});

正如 Milos 所发现的,必须激活快速创建表单。