Site Studio basics
Code workspace
Edit site files, inspect the running preview, and restore earlier versions.
Code mode provides file-level control for sites that use the code workspace. It combines a file tree, editor, running preview, Scout context, and version history.
What this workspace includes
- File tree and code editor
- Running preview
- Code-aware Scout
- Version history and restore
- Build and runtime feedback
Complete workflow
- 1
Switch to code
Open code mode for the current site.
- 2
Choose a file
Use the file tree to locate the relevant source.
- 3
Make or request the change
Edit directly or ask Scout with the file context.
- 4
Validate and restore if needed
Inspect the preview and use history when an earlier version is preferred.
How records and settings behave
- File changes are saved to the current site project
- The preview reflects the running site build
- History checkpoints support restoration of earlier states
Working effectively
- Keep changes focused to the requested behavior
- Review the preview after each related group of edits
- Use history labels to understand restoration points
Keep the correct context
Confirm the active organization, agency, client, site, or record before making a change. The name shown in the workspace identifies where the result will be saved.
Frequently asked questions
Where should I start with Code workspace?
Open code mode for the current site.
When is my work saved?
File changes are saved to the current site project
How do I confirm the result?
Return to the related list or detail view and review its current status. History checkpoints support restoration of earlier states

