Salesforce Certified OmniStudio Developer — Question 18
A developer creates a FlexCard that displays a contact's mailing address and passes the contact's postal code to a child FlexCard.
When configuring text elements in the child FlexCard, what syntax should a developer use to refer to the contact s postal code?
Answer options
- A. {postalcode}
- B. {Params.postalcode}
- C. {Parent.postalcode}
- D. {Records.postalcode}
Correct answer: C
Explanation
The correct answer is C, {Parent.postalcode}, because it correctly references the postal code from the parent FlexCard. Options A and B do not specify the parent context, and D is incorrect as it references the Records context, which is not applicable in this scenario.