What is an entity form in Dynamics 365?
With Dynamics 365 CE, forms provide the user interface that people use to interact with the data they need to do their work. Below are the different types of forms in Dynamics 365 CE.
|Form Type||Form Description|
|Main||Used in the Dynamics 365 Customer Engagement (on-premises): the Dynamics 365 for Customer Engagement web application, Dynamics 365 for Outlook, and Dynamics 365 for tablets.|
These forms provide the main user interface for interacting with entity data.
|Quick Create||Used in Dynamics 365 Customer Engagement (on-premises), the Dynamics 365 for Customer Engagement web application, Dynamics 365 for Outlook, and Dynamics 365 for tablets.|
For updated entities, these forms provide a basic form optimized for creating new records.
|Quick View||Used in Dynamics 365 Customer Engagement (on-premises), the Dynamics 365 for Customer Engagement web application, Dynamics 365 for Outlook, and Dynamics 365 for tablets.|
For updated entities, these forms appear within the main form to display additional data for a record that is referenced by a lookup field in the form.
|Card||Used in views for Unified Interface apps. Card forms are designed to present information in a compact format that is suitable for mobile devices.|
How can we switch between the forms in Dynamics 365 CRM?
One entity can have multiple forms associated with it and the users can switch between these forms using the out of the box conventional method as shown below.
Using navigate client API for dynamically changing the forms in D365
We will use the “navigate” client API for programmatically switching between multiple forms as per the business conditions.
formItem.navigate();Opens the specified form.
When you use the navigate method while unsaved changes exist, the user is prompted to save changes before the new form can be displayed. The Onload event occurs when the new form loads.
Validate the functionality in Dynamics 365