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 questionsThe 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.
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.
Keep practicing
Take the free OMS-435 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other OMS-435 practice questions
- Question 1An integration procedure contains a Remote Action element that calls a method of an APEXc…
- Question 2What OmniStudio tool pre-populates the data m a PDF used by an OmniScript?
- Question 3A developer need to configure a calculation procedure to calculation a subtotal using two…
- Question 4A developer needs to limit the of a DataRaptorExtract to a maximum of one result. How sho…
- Question 5A developer is troubleshooting an Integration Procedure with two elements: A Remote Actio…
- Question 6In a calculation procedure, what is required for the output of a calculation step to be u…
