When creating a child FlexCard that should display all of its parent FlexCard's records in a DataTable, which data binding should be used?

Study for the OmniStudio Developer Test. Focus with flashcards and multiple-choice questions, each with hints and explanations. Get ready for your exam!

Multiple Choice

When creating a child FlexCard that should display all of its parent FlexCard's records in a DataTable, which data binding should be used?

Explanation:
The DataTable in the child FlexCard should bind to the full collection of records from the parent, which is done with {Records}. A DataTable expects a list of record objects to render a row for each item, so binding to the entire Records array ensures every parent record appears as a row. Binding to {Records[0]} would only provide a single item (one row), not all records. {Params records} would rely on a parameter named records, which isn’t the source of the parent’s data by default. {recordId} gives just one ID, not a list of records to populate multiple rows. Therefore, {Records} is the correct binding to display all parent records in the DataTable.

The DataTable in the child FlexCard should bind to the full collection of records from the parent, which is done with {Records}. A DataTable expects a list of record objects to render a row for each item, so binding to the entire Records array ensures every parent record appears as a row.

Binding to {Records[0]} would only provide a single item (one row), not all records. {Params records} would rely on a parameter named records, which isn’t the source of the parent’s data by default. {recordId} gives just one ID, not a list of records to populate multiple rows. Therefore, {Records} is the correct binding to display all parent records in the DataTable.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy