Free Salesforce Plat-Dev-210 Actual Exam Questions s - Question 14 Discussion
postal code to a child FlexCard.
When configuration text elements in the child FlexCard, what syntax should a developer use to refer
to the contact’s postal code?
Option D seems right since child FlexCards usually access passed-in data through {Params}, not directly from parent or records. The other options don’t fit how data is typically passed down.
Makes sense to me, the child gets data via params, so D.
D Using {Params.postalcode} fits because the child FlexCard accesses values passed down as parameters, not directly from parent or record contexts. It’s the cleanest way to reference passed-in data.
B/D? I’m thinking B makes sense if the child FlexCard can directly reference the parent’s fields, but usually, when data is passed down, it’s through parameters, so D feels cleaner. A and C don’t seem right since A looks like a local reference and C would be for records context, not passed values. If the postal code is explicitly passed as a param, {Params.postalcode} should be the way to grab it in the child card.
B/D? I’m stuck between B and D because if the child FlexCard receives the postal code as a parameter from the parent, using {Params.postalcode} makes sense. But sometimes, referencing parent attributes with {Parent.postalcode} could also work depending on how it’s passed. Since the question mentions passing the postal code, {Params.postalcode} feels more straightforward, but I’m not 100% sure if Parent might also be used here.
D imo, because Params is used for input parameters in child FlexCards.
D imo, it’s usually {Params.postalcode} when passing data to child FlexCards.