Flexcards15% of the exam

Publishing and embedding Flexcards on pages and sites

How to activate and publish a Flexcard, choose Publish Options targets, place the standard Flexcard component in Lightning App Builder and on Aura and LWR Experience Cloud sites, pass record context and exposed attributes, and expose a custom LWC that wraps a Flexcard.

Official exam objective
Embed Flexcards across UI components and different channels.

~7 min read · 5 practice questions ·

What the exam expects

  • Activate a Flexcard and set Publish Options targets, including what happens when none are selected.
  • Add the standard Flexcard component to Lightning App Builder pages and to Aura and LWR Experience Builder pages, with exposed attributes and record context.
  • Configure an LWR site so Flexcards render and show real data while you test.
  • Display a Flexcard in a custom LWC and expose that component in a builder through its js-meta.xml.

Key terms: Publish Options (target pages where the card's component can be used), exposed attributes (JSON values for a card's public properties on a builder page), standard Flexcard component (the component that loads an active card by name), lightning-omnistudio-flexcard (wrapper that renders a Flexcard in a custom LWC), LWR site (an Experience Cloud site on Lightning Web Runtime).

Key facts

Standard placement
Detail
Standard Flexcard component (Summer '22 or later); no generated LWC
Active cards
Detail
Can't be edited or deleted; deactivate first
No targets saved
Detail
App, Home and Record Page become the defaults
Default card version
Detail
The most recent active Flexcard
Exposed Attributes
Detail
One JSON object, pairs separated by commas
Site record context
Detail
RecordId attribute, lightningCommunity__Default, value {!recordId}; {!recordId} in Record Id
LWR component location
Detail
Customer Interactions (Aura: Process Automation)
LWR after changes
Detail
Republish sites that use the card
Builder visibility
Detail
isExposed true plus at least one target
Sources for this section (3)
  • Why does a Flexcard need a RecordId exposed attribute on an Experience Builder page?
  • When must you republish an LWR site that uses Flexcards?
  • Where do you find a Flexcard in Experience Builder on an LWR site, and where on an Aura site?
  • Which two js-meta.xml settings make a custom LWC appear in Lightning App Builder for record pages?

The questions are free to read. Answers with their sources and self-grading are included with the pack.

Keep reading with the Omnistudio Developer pack

  • Core concepts
  • Exam traps
  • Worked scenario

The pack includes:

  • All 46 lessons of the Omnistudio Developer guide, with reading progress
  • Interactive decision walks and step-by-step sequence steppers
  • Inline practice questions and one-click topic practice (5 questions for this lesson)
  • An official source cited for every claim
  • An AI tutor that answers from the guide
  • Unlimited timed practice exams

Practice for the Omnistudio Developer exam