Data Mappers17% of the exam
Data Mapper naming, caching and performance practices
The Data Mapper best practices a developer applies while building: unique response node names, the camelCase naming convention, targeted Data Mappers with few sObjects and indexed filters, the null-equals filter workaround, and the Options-tab cache settings with their TTL defaults and limits.
Describe best practices for Data Mappers.
~6 min read · 2 practice questions ·
What the exam expects
- Give Data Mappers and their response nodes names that are unique and follow the documented convention.
- Keep Data Mappers targeted and fast: one operation, relationship notation, three or fewer sObjects, indexed filter and sort fields, and the null-equals workaround.
- Configure caching on the Options tab: cache type, Time To Live In Minutes, and how field-level security checks affect it.
Key terms: response node (the top-level output name a Data Mapper writes into the caller's data), prefixVerbObjectDetail (Trailhead's camelCase naming pattern), Salesforce Platform Cache Type (None, Session Cache or Org Cache), Time To Live In Minutes (how long cached data is kept).
Key facts
Response nodes
- Detail
- Unique names across Data Mappers
Data Mapper name
- Detail
- Trailhead: starts with a letter; letters and numbers only. Help Interface Name: letters, numbers and dashes, no spaces
Naming pattern
- Detail
- camelCase prefixVerbObjectDetail
sObjects per Data Mapper
- Detail
- Three or fewer
Equals null filter
- Detail
- Add a
!=filter as well
Org Cache TTL
- Detail
- Default 1440, maximum 2880 minutes
Session Cache TTL
- Detail
- Default 5, maximum 480 minutes
FLS check
- Detail
- Disables Org Cache, not Session Cache
- Why does Help recommend keeping a Data Mapper to three or fewer sObjects?
- When does an Extract filter need an extra Not Equal To condition?
- What TTL does Org Cache use if you leave Time To Live In Minutes at its default?
- Why can Session Cache data disappear before its TTL ends?
- When is Session Cache the better choice than Org Cache?
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 (2 questions for this lesson)
- An official source cited for every claim
- An AI tutor that answers from the guide
- Unlimited timed practice exams