Skip to main content
Users
Developers
CloudPortalLogin
  • Powered byPowered by
Introduction to Sitecore Send
Account settings
Email lists
Campaigns
Audience discovery
Landing pages
Subscription forms
Generate text using the AI writer
Deliverability
Website tracking
Automations
Reports and dashboards
Integrations
  • Sitecore Send
  • Campaigns
  • Working with the campaign editor
  • Use code mode in the campaign editor

Use code mode in the campaign editor

In the campaign editor, you can use code mode to get a read-only view of the HTML code of your newsletter . You can download the JSON file of your newsletter so that you can share the template with other team members, so they can make edits. You can also upload a JSON file if you are working on a template from another application and want to import it into the editor.

To use code mode:

  1. On the top menu of the editor, click Code. The editor switches to code mode.

  2. The editing area shows a read-only view of the HTML code of your design. You have the following options:

    • Copy HTML Code - copies the HTML code to the clipboard. You can paste the code into a text or a document file.

    • Download JSON file - saves the JSON file of your current template as a text (.txt) file.

    • Upload JSON file - lets you select a JSON file from your computer and load it to the editor. The editor switches back to edit mode.

Do you have some feedback for us?

If you have suggestions for improving this article,

Privacy policySitecore Trust CenterCopyright © 1999-2026 Sitecore