# Omniscript design standards and load-time practices

*Omnistudio Consultant Study Guide · Omniscripts · Last updated October 27, 2026 · https://www.certifyforce.com/study-guide/omnistudio-consultant/omniscripts/omniscript-design-standards-and-load-time-practices*

The Omniscript best practices a consultant writes into team standards: reserved ContextId, unique and stable element names, Internal Notes, validating where data is entered, Step design that limits cognitive load, client-side and server-side load-time practices, Design Assistant limits and two documented configuration traps.

- Certification: Salesforce Omnistudio Consultant
- Exam section: Omniscripts
- Study guide: https://www.certifyforce.com/study-guide/omnistudio-consultant

**Official exam objective:**

> Discuss best practices for Omniscripts.

## What the exam expects

- Write Omniscript standards for a team: reserved keys, naming, documentation and change rules.
- Recommend Step layouts that balance cognitive load, with validation on the Step where data is entered.
- Diagnose slow Omniscripts from the documented client-side and server-side practices, including the 750-element guidance.
- Use Design Assistant's recommended limits to flag a design before it is built.
- Recognize two documented configuration traps: duplicated Edit Block rows after resume, and tables in Text Blocks.

Key terms: **ContextId** (reserved key holding the record Id from the URL); **Internal Notes** (designer-only documentation on an element); **client-side performance** (what the browser evaluates and renders); **Design Assistant** (real-time design alerts against recommended limits); **Merge Saved Data JSON** (merges a saved session into an updated Omniscript).

## Key facts

| Fact | Detail | Source |
|---|---|---|
| ContextId | Reserved key assigned from the URL's record Id; don't assign it | [Best Practices](https://help.salesforce.com/s/articleView?id=sf.os_omniscript_best_practices_8368.htm&language=en_US&type=5) |
| Names | Unique element and Data Mapper response node names; no renames after production | [Best Practices](https://help.salesforce.com/s/articleView?id=sf.os_omniscript_best_practices_8368.htm&language=en_US&type=5) |
| Element count | Try to limit a single Omniscript to 750 elements | [Best Practices](https://help.salesforce.com/s/articleView?id=sf.os_omniscript_best_practices_8368.htm&language=en_US&type=5) |
| Nested blocks | Recursive nested blocks no more than 10 | [Best Practices](https://help.salesforce.com/s/articleView?id=sf.os_omniscript_best_practices_8368.htm&language=en_US&type=5) |
| LWC size | Don't exceed 4 MB; larger shows an inactive or not-deployed error in preview | [Best Practices](https://help.salesforce.com/s/articleView?id=sf.os_omniscript_best_practices_8368.htm&language=en_US&type=5) |
| Element names and load time | Removing spaces improves load time | [Best Practices](https://help.salesforce.com/s/articleView?id=sf.os_omniscript_best_practices_8368.htm&language=en_US&type=5) |
| Data Mappers per Omniscript | Recommended limit 5 | [Recommended Limits](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_design_assistant_recommended_limits.htm&language=en_US&type=5) |
| Edit Blocks per Omniscript | Recommended limit 10 | [Recommended Limits](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_design_assistant_recommended_limits.htm&language=en_US&type=5) |
| Text Blocks | Tables aren't supported | [Best Practices](https://help.salesforce.com/s/articleView?id=sf.os_omniscript_best_practices_8368.htm&language=en_US&type=5) |

## Check yourself

- Why shouldn't an Omniscript write a new value into ContextId?
- When should validations run, according to Omniscript best practices?
- Why move formulas into Data Mappers when an Omniscript loads slowly?
- What is Design Assistant's recommended limit for Data Mappers in one Omniscript?

## Sources

- [Omniscript Best Practices](https://help.salesforce.com/s/articleView?id=sf.os_omniscript_best_practices_8368.htm&language=en_US&type=5)
- [Recommended Limits](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_design_assistant_recommended_limits.htm&language=en_US&type=5)
- [Omnistudio Design Assistant](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_design_assistant.htm&language=en_US&type=5)
- [Omnistudio Naming Conventions](https://help.salesforce.com/s/articleView?id=sf.os_omnistudio_naming_conventions.htm&language=en_US&type=5)
- [Save and Resume an Omniscript](https://help.salesforce.com/s/articleView?id=sf.os_save_and_resume_an_omniscript_9465.htm&language=en_US&type=5)
- [Common Omniscript Element Properties](https://help.salesforce.com/s/articleView?id=xcloud.os_common_omniscript_element_properties_definitions__10687.htm&language=en_US&type=5)
- [Custom LWC Element](https://help.salesforce.com/s/articleView?id=sf.os_custom_lwc_element_17587.htm&language=en_US&type=5)

## About the full unit

The "Core concepts", "Exam traps" and "Worked scenario" sections of this unit, its 8 linked practice questions, and unlimited timed mock exams are included with the Omnistudio Consultant pack (USD $19): https://www.certifyforce.com/practice-exams
