ALS-Con-201 practice question 23 of 25

Choose 1 option. Cumulus Pharma wants its field sales reps to quickly see whether an account is a target account in their assigned territory…

Full set: 120 questions
Choose 1 option. Cumulus Pharma wants its field sales reps to quickly see whether an account is a target account in their assigned territory alongside other key attributes. Using the out-of-the-box Provider Card template, the team needs additional indicators so targeted accounts display “Target” and non- targeted accounts display “Not Target.” How should the Agentforce Life Sciences Consultant configure this requirement?
Answer options
A: Add an item group element to a section and apply record-level filters on the Provider Account Territory Info source object to show only targeted accounts.
B: Add a repeater element to a section, bind it to the Targeted Account field from the Provider Account Territory Info source object, and configure filter conditions.
C: Add an item group element to a section, include the Targeted Account field from the Provider Account Territory Info source object, and configure visibility conditions. Correct answer
Correct Answer:
C. Add an item group element to a section, include the Targeted Account field from the Provider Account Territory Info source object, and configure visibility conditions.
Explanation

The Provider Card is built using OmniStudio FlexCard technology. The requirement is to conditionally display a text element ("Target" or "Not Target") based on a field value. The correct method to achieve this in a FlexCard is to add an item group element containing the desired text. Then, apply a visibility condition to this element. The condition would be bound to the Targeted Account boolean field from the Provider Account Territory Info data source, ensuring the "Target" text appears only when the field is true, and a separate element for "Not Target" appears when it is false.

Why Incorrect

A. Record-level filters would hide the entire Provider Card for non-targeted accounts, rather than showing an indicator on the card.
B. A repeater element is used to iterate over and display a list of child records, which is not suitable for displaying a single status indicator.

References

1. Salesforce OmniStudio Developer Guide, "FlexCard Element Reference: Item Group". The documentation describes the Item Group element as a container for other elements where properties like visibility can be applied.

2. Salesforce OmniStudio Developer Guide, "Set Conditional Visibility for a FlexCard Element". This section explicitly details how to configure the "Render" property of an element based on data source field values to show or hide it dynamically, matching the requirement perfectly.

Scroll to Top