RE: How to know if opened form is quick create form from JavaScript?
Hi,
you can get this information by performing a retrieve on the systemForm table using the GUID of the current form.
To get the GUID of the current form, you can use the following code:
formItem = formContext.ui.formSelector.getCurrentItem();
formItemId = formItem.getId();
You can retrieve the form details by using the following code:
Xrm.WebApi.retrieveRecord('systemform', "f7d3b417-6220-42ac-9aec-228621129f3b", "?$select=type").then(
function success(result) {
console.log(result)
},
function (error) {
console.log(error.message);
// handle error conditions
}
);
Result:

Good luck !