SVC-17A FlexCards 2 — Questions and Answers
Question 1: What is the 'Custom Event' action in FlexCards used for?
- To emit Lightning events for inter-component communication (Correct answer)
- To send system emails
- To call external REST APIs
- To create new Salesforce records
Correct answer: To emit Lightning events for inter-component communication
Custom Event actions in FlexCards emit Lightning web component events that communicate with parent components or sibling FlexCards on the page.
Question 2: Which FlexCard element renders a list of child records in a tabular grid format?
- DataTable (Correct answer)
- Repeat Block
- Child Card
- List View
Correct answer: DataTable
The DataTable element in FlexCards renders a list of records in rows and columns, similar to a Salesforce related list.
Question 3: What does the 'Flyout' property in a FlexCard element do?
- Expands an inline detail panel when the user interacts with a card element (Correct answer)
- Creates a browser popup window
- Navigates to a new Salesforce page
- Launches a full-screen modal dialog
Correct answer: Expands an inline detail panel when the user interacts with a card element
The Flyout property in FlexCards expands an inline panel showing additional information when a user clicks or hovers on a card element.
Question 4: How does a FlexCard determine which records or data to display?
- Via the data source configuration and its input filter parameters (Correct answer)
- Via Salesforce list view definitions
- Via record page layouts
- Via SOQL embedded in the component markup
Correct answer: Via the data source configuration and its input filter parameters
FlexCards use their configured data source (DataRaptor, Apex, or Integration Procedure) along with input parameters and filters to retrieve displayed data.
Question 5: What is a 'Block' in a FlexCard used for?
- Grouping related fields or elements together in the card layout (Correct answer)
- Defining the data source query
- Setting card-level access permissions
- Creating action buttons for user interactions
Correct answer: Grouping related fields or elements together in the card layout
Blocks in FlexCards group related display elements together to organize the card's visual layout into logical sections.
Question 6: Which FlexCard action type redirects the user to a Salesforce record page or URL?
- Navigation Action (Correct answer)
- Remote Action
- OmniScript Action
- Custom Event Action
Correct answer: Navigation Action
The Navigation Action in FlexCards redirects the user to a Salesforce record page or an external URL when triggered.
What is the 'Custom Event' action in FlexCards used for?