OMS-435 practice question 10 of 15

A developer configure a Flexcard with a DataRaptor data source that uses the params.id as an. When the developer clicks Views Data on the FlexCard, valid datadisplays. However, when the developer previews the layout, the FlexCard does not display. What could cause this error? Choose 2 answers

Full set: 85 questions
Answer options
A: The Data Node field for the FlexCard is empty.
B: The RecordId in the Test Data Source settings ins for the wrong record type. Correct answer
C: The attribute haven’t been configured to pass the data to the fields. Correct answer
D: There is not Salesforce record for the FlexCard based on the RecordId in the layout’s Test Data Source Settings.
Correct Answer:
B. The RecordId in the Test Data Source settings ins for the wrong record type.; C. The attribute haven’t been configured to pass the data to the fields.
Explanation

The scenario describes a common issue where a FlexCard's data source works when tested in isolation ("View Data") but fails when the card is rendered in a layout preview. This points to errors in either the card's configuration for displaying data or the test data provided in the preview context.
1. (C) The attributes haven’t been configured to pass the data to the fields: The "View Data" function only shows the raw JSON response from the DataRaptor. It does not test the rendering of data onto the card's elements. A developer could confirm the data source works but have forgotten to map the data fields (e.g., {Name}) to the text elements on the card, causing the card to be blank in the preview.
2. (B) The RecordId in the Test Data Source settings is for the wrong record type: The layout preview uses a specific RecordId from its test settings. If this ID is for a different object type than the DataRaptor is designed to query (e.g., providing a Contact ID to a DataRaptor expecting an Account ID), the DataRaptor will find no matching record and return no data.

References

1. Salesforce Help & Training - OmniStudio Documentation

Troubleshoot a FlexCard:

"If your FlexCard is blank or missing data

check your data source and data fields... Check that your Data Node is correct and that your elements are mapped to the correct fields from the data source." This supports that unmapped fields (attributes) are a common cause of a blank card

aligning with option C.

"To test your FlexCard with data from a specific record

enter the Salesforce Record ID in the RecordId field... Ensure the RecordId you are using for your test is valid and of the correct object type." This directly supports that using a RecordId of the wrong type is a specific troubleshooting step

aligning with option B.

2. Salesforce Help & Training - OmniStudio Documentation

FlexCards Data Source Properties:

"In the Data Node field

enter the name of the data node that you want to be the top-level node for your card. If the JSON is flat

leave this field blank." This confirms that an empty Data Node is not necessarily an error

making option A incorrect.

Scroll to Top