Video tutorials
/
How to Pass current Record ID to Dynamic Components in Salesforce
Lightning Pages

How to Pass current Record ID to Dynamic Components in Salesforce

Filter a Dynamic Component on the current record with the Target Page Object and $Component.recordId.

Beginner
3:24
Tips & tricks
How to Pass current Record ID to Dynamic Components in Salesforce
Play video
Chapters
Click a chapter to jump to it
Watch on YouTube

What you will build

Pass the current record Id from a Lightning page to an Avonni Dynamic Component, so its data follows the page. A short tip for Salesforce admins using Lightning App Builder.

  • Set the Target Page Object of the component
  • Use $Component.recordId to read the current record
  • Filter a Data Table on the page record
  • The component adapting to the page it sits on

Before you start

The Avonni Experience Components package (it includes Dynamic Components).

Transcript

Show the full transcript
See it as a use case
No items found.
Build it in your org

Free in sandboxes, 10 free production licenses.

Start free
Keep going

Related tutorials

Find your next tutorial

Browse the whole library, filtered by where it runs and what you want to build.

All video tutorials