Dynamic Forms And Dynamic Actions is the next step in the evolution of Lightning record pages in Lightning Experience Salesforce. Summer ‘20 is a particularly exciting release for Salesforce as they finally reveal a suite of new features for Lightning App Builder designed to facilitate the creation of “flexible and dynamic pages, without writing code” source: Try Dynamic Actions in App Builder with the Summer ’20 Release.
Dynamic Action will enable us to create uncluttered, intuitive and responsive pages that display only the actions need to see based on criteria that we specify.
Instead of scanning an endless list of actions, we will be presented with a simple choice, relevant to their role, profile, or when a record meets certain criteria. Which actions are available and when they appear will be configured in the Lightning App Builder instead of the traditional page layout editor, leading to reduced administrative time and effort. Dynamic Actions will be available in our production instance from the Summer ‘20 release. Dynamic Actions will helps us to choose the dynamic actions for the relevant objects.
Step-1: Open any of the Object record page and go to Edit Mode.
Step-2: Click the Highlight panel and check Enable Dynamic Actions (Beta, desktop only).
Note: We need to do this on every Lightning Page we wish to use Dynamic Action.
Step-3: Click Add filter if we need to add filter based on the Record or Device or User or Permission.
Steps for Record:
Click the Record Tab. Now choose the field, operator and Value and click Done
Steps for Device:
Click the Device Tab. Now Choose the Form factor, Operator and Value and click Done.
Steps for Advance:
Click the Advance Tab and click Field. Now choose the Device or User or Permission or Record. Choose the relevant action based on the field and click Done. Now choose the Operator and Value and click Done.
Step-3: Choose the Add Action.
Step-4: Repeat the step 2 and 3 until we add all the buttons.
Step-5: Then reorder the actions.
Step-6: After that, click Save and Activate the page.