Search code examples
javascriptdynamics-crmdynamics-365

Dynamics 365: Get originating field information


I have 2 lookups on the same entity at a form and I want to define the field from which Quick Create Form was opened and depending on the field, to default values on Quick Create Form. Is there any way to achieve this?


Solution

  • Basically you want to customize the create button behavior before launching the quick create screen from lookup control and populate few fields on load of QC form.

    Native CRM lookup - ‘Create New’ hyperlink cannot be customized as of today unfortunately.

    Either you can train users to manually fill the necessary field values. Or develop custom buttons (in ribbon or embedded PCF/web resource next to lookup) to launch the QC form, then populate fields on QC form load based on requirement. Read more