Hello,
I am trying to open the Quick Create Form for the custom entity but it's opening default form instead Quick Create form. Quick Create does not works for custom entities?
Below is the code which I used to open the Quick Create form. please suggest on this.
function openCF(executionContext) { var formContext=executionContext.getFormContext(); var entityFormOptions = {}; entityFormOptions["entityName"] = "msdyn_payment"; entityFormOptions["useQuickCreateForm"] = true; entityFormOptions["formId"] = "62F07FB4-A0AC-4312-A22A-0768E4C6BB86"; var formParameters = {}; formParameters["hsl_case"] = formContext.data.entity.getId(); formParameters["hsl_casename"] = formContext.data.entity.getPrimaryAttributeValue(); //Xrm.Utility.openQuickCreate("msdyn_payment", parentCase , formParameters).then( Xrm.Navigation.openForm(entityFormOptions, formParameters).then( function (success) { Xrm.Utility.alertDialog(success.message); console.log(success); }, function (error) { console.log(error); }); }
Thanks
Srikanth