Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce AP-211 Exam - Topic 1 Question 16 Discussion

Posted by Marnie on Aug 15, 2026 at 01:42 AM

A bug is assigned to a developer stating that when an address contains data in the Address Line 2 field, the FlexCard display adds an additional line, causing formatting issues.

How should the developer handle this in a DataRaptor without changing the underlying data structures?

Suggested Answer: C

The issue is that the FlexCard is displaying an extra line whenever Address Line 2 has data. The requirement is to fix the display formatting without changing the underlying data model.

In OmniStudio DataRaptors, you can add formula fields during data extraction.

By concatenating Address Line 1 + Address Line 2 into a single formatted field inside the Extract DataRaptor, you can pass the clean, properly formatted address to the FlexCard.

This approach ensures:

No changes to underlying data structure.

No need to create new fields.

Controlled formatting at the data transformation layer.

Why not the others?

A . Add a Load DataRaptor to write the data into one new custom field.

This changes the data model by writing into a new custom field, which the requirement prohibits.

B . Replace the Extract DataRaptor with a Transform DataRaptor.

Transform DataRaptors are typically used for complex JSON-to-JSON mapping or orchestration, not needed here since a simple formula in the Extract DataRaptor suffices.

D . Create a new Turbo Extract DataRaptor to trim the Address data in both fields.

Turbo Extracts are used for high-performance, single-object extracts but do not support formulas or transformations.

They wouldn't solve the concatenation/formatting issue.

Salesforce OmniStudio Reference:

OmniStudio DataRaptor Guide:

''Use formulas in Extract DataRaptors to concatenate or transform fields before passing data to a UI component.''

''Turbo Extract DataRaptors don't support formulas or transformations.''


Get Premium AP-211 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
14 comments · newest first
LA
Larae 3 days ago
I like option C too. It’s simple and doesn’t complicate things.
CH
Chery 8 days ago
Option A feels like a workaround. We should fix the root cause instead.
AD
Adelaide 13 days ago
I'm leaning towards D. Trimming the data could prevent the extra line.
SA
Sarina 19 days ago
I agree, but option B could also work. Transforming data might solve the issue.
MY
Myra 24 days ago
I think option C is the best. Concatenating fields seems straightforward.
NO
Noe 29 days ago
Concatenating might lead to other issues down the line.
MO
Moon 1 month ago
Surprised that no one mentioned using a Transform DataRaptor!
AN
Annette 1 month ago
A Load DataRaptor seems unnecessary for this issue.
RI
Richelle 1 month ago
I disagree, D could be cleaner for trimming.
CA
Catalina 2 months ago
I think option C makes the most sense for formatting.
LE
Lera 2 months ago
I’m leaning towards option B, but I’m not confident. I just hope we don’t have to change the underlying data structures like the question states!
RH
Rhea 2 months ago
I practiced a similar question where we had to manipulate address data. I feel like creating a new Turbo Extract DataRaptor could be overkill for this issue.
MO
Monte 2 months ago
I’m not entirely sure, but I think concatenating the address fields might help with the formatting issue. Is that what option C is suggesting?
GE
German 2 months ago
I remember we discussed how Transform DataRaptors can be useful for modifying data without altering the source. Could that be the right choice here?
0/2000 characters

Save Cancel