Salesforce Certified OmniStudio Developer — Question 77
A developer needs to display the following information together on one FlexCard: account name, address, phone number, website primary contact first name, contact last name, address, phone number, email
The account information must always be visible, and the contact information should only be visible as needed by the user.
What approach should the developer use to display the contact Information on the card?
Answer options
- A. Set the collapsible property on the block element
- B. Use a Datatable element
- C. Use a conditional FlexCard State
- D. Set the class="collapsible" on the block element
Correct answer: A
Explanation
The correct answer is A, as setting the collapsible property on the block element allows the contact information to be hidden or shown based on user interaction, fulfilling the requirement of being visible only when needed. Option B is incorrect because a Datatable is not suitable for displaying information in a collapsible format. Option C is not the best choice since a conditional FlexCard State does not specifically address the need for collapsibility. Option D is also wrong because while it relates to collapsibility, it does not utilize the standard property method that is typically used in this context.