Site icon WedgeCommerce

Dynamic Forms in Salesforce (Summer 20 Feature)

Banner

What are Dynamic Forms ?

 

Dynamic forms in salesforce provides a point & click customization technique for lightning record pages.

Many times cases arises where set of fields may not be necessary for a set of users, in such cases we used to make multiple layouts based on profiles. With dynamic forms now its easy to tackle such cases.

With Dynamic Forms, you can migrate the fields and sections from your page layout as individual components into the Lightning App Builder.

 

How to Enable Dynamic Forms ?

 

Setup > User Interface > Record Page Settings

  Flip the switch to ON & Save

 

Once Dynamic Forms is enabled you’ll see a new tab called “Fields” when you open the Lightning App Builder for a custom object.

 

Features Of Dynamic Forms

 

– Create or Migrate Page

 

You can migrate any lightning record page of any custom object. Open the lightning page, select the record component and click upgrade now. The layout would be visible.

-Add Fields to Page

 

You can create a new page and add fields into it. For example I have created a new tab named Candidate and added a field section displaying candidate related fields all through lightning app builder.

 

After creating Fields you can set the UI behaviour as Read-Only, Required or None here itself and can also place fields in different sections giving a clean and an organised view.

 

 

Fields And Component Visibility Based on Conditions

In cases where you want to hide or make visible particular components or fields based on specific conditons you can use the visibility settings. The visibility can be on the basis of record fields, permissions, profiles and also device(In case of component visibility).

 

 

 

Note :

Resources : 

https://releasenotes.docs.salesforce.com/en-us/summer20/release-notes/rn_forcecom_lab_dynamic_forms.htm

https://trailhead.salesforce.com/users/strailhead/trailmixes/be-an-innovator-with-dynamic-pages

 

Exit mobile version