With the Dynamic Related List feature, you have the ability to personalize the related list within the Lightning App Builder. This customization allows you to determine the number of records to be shown, specify the fields and actions that should be displayed, and apply filters to refine the content of the related list.
Now let's add a dynamic-related list on the page.
Add Dynamic Related Lists to the Lightning Page.
Follow the steps below to add the Dynamic Related List - Single component on a Lightning Record Page. In this example, we will add the Dynamic Related List to an Account record page.
- Click on Setup.
- Click on Object Manager, and Select Account.
- Select Lightning Record Page, and Click on Account Record Page.
- Click On Edit.
- Drag and drop Dynamic Related List – Single on the canvas.
In this example, we will be creating quick action for the contact object. To create quick action, follow the steps below:
- Click on Setup.
- Click on Object Manager and Select Contact.
- Select Buttons, Links, and Actions, Click on New Action.
- Fill in the details as shown in the below Image:
Now go back to the Account Record Page & click on Edit Page from the Settings Button Icon.
Follow the Below Steps to configure it:
- On the Right Vertical Information section, scroll below to the Actions fields.
- Click on the Add Action button.
- Search for the Newly created Quick Action & Click Done.
- Save the Changes & return to the Account Record Page.
Below is the image for our Example:
Now it's time to Test!
In this example, we are updating 2 contact records related to Express Logistics and Transport Account record.
We will be modifying the Name, Title & Email fields in this example.
Select both the contact records and click on the Update Record Button as shown in the above image.
As you can see, we have updated:
- Last Name field to Smith.
- Email field to John@gmail.com
- Title field to CEO.
No comments:
Post a Comment