Flexcard data sources and resulting JSON
How to configure each Flexcard data source type (SOQL, SOSL, Data Mapper, Integration Procedure, Apex Remote, Apex REST, REST, Custom, Streaming API, autolaunched flow), fill input maps, options maps and JSON Payload, and test the returned JSON with test parameters, Save & Fetch and Result JSON Path.
Configure data sources such as SOQL, Data Mapper, Integration Procedure, Custom, etc. and test resulting JSON structure.
~8 min read · 5 practice questions ·
What the exam expects
- Configure each data source type: SOQL Query, SOSL Search, Data Mapper, Integration Procedure, Apex Remote, Apex REST, REST, Custom, Streaming API and autolaunched flow.
- Fill an input map with static values or single merge fields, and know which options map keys a type accepts.
- Set up a REST or Apex REST call: endpoint, GET or POST, JSON Payload, request headers and the Setup prerequisites.
- Test a data source with test parameters and Save & Fetch, then read the returned JSON.
- Write a Result JSON Path for an object root and for an array root.
Key terms: input map (key-value pairs the card sends to its source), options map (extra settings passed to an Apex Remote class or an Integration Procedure), test parameter (a designer-only value for a runtime variable), Save & Fetch (runs the source and shows Test Results), Result JSON Path (the response node the card uses as its records).
Key facts
- Detail
- {}, {} format; array format isn't supported
- Detail
- Static values or merge fields such as {recordId}
- Detail
- Options map key on Integration Procedure sources; Winter '23 or later
- Detail
- Enter the JSON to send in JSON Payload
- Detail
- Remote Site Settings plus a trusted URL
- Detail
- Managed package designer only
- Detail
- VlocityOpenInterface is Managed Package Runtime only; Standard Runtime uses System.Callable
- Detail
- All case-sensitive
- Detail
- The runtime variable from the input map, such as recordId
- Detail
- Only when the entire JSON is an array: [0]['Cases']
Sources for this section (5)
- Why can't Result JSON Path fix a data source that returns no records?
- When does an Integration Procedure data source need useContinuation = true in its options map?
- When is the Streaming API data source unavailable?
- What do you click after adding a test parameter to see the returned data?
The questions are free to read. Answers with their sources and self-grading are included with the pack.
Keep reading with the Omnistudio Developer pack
- Core concepts
- Exam traps
- Worked scenario
The pack includes:
- All 46 lessons of the Omnistudio Developer guide, with reading progress
- Interactive decision walks and step-by-step sequence steppers
- Inline practice questions and one-click topic practice (5 questions for this lesson)
- An official source cited for every claim
- An AI tutor that answers from the guide
- Unlimited timed practice exams