Hello,
I need to know how to set which form to open when we click on the +New button in lookup fields in an entity form in microsoft dynamics crm.And is it possible that we can populate quick create form fields based on a form field ,on which the lookup field
from which the quick create form was opened, is present?
It should be the first Quick create form in the order list that is used. As for the pre population of fields from the record you create it on you can use mappings on the relationship settings.
I got the solution for opening quick create form.
We can set it by setting the following properties to the lookup field.
document.getElementById("lookupfieldname").setAttribute("entitylogicalname", "nameofentityyouwanttoset");
document.getElementById("lookupfieldname").setAttribute("entitytypecode", "codeforthatentity");
But I need to know that is it possible that we can populate quick create form fields based on a form field of the form on which the lookup field,from which the quick create form was opened, is present?