Skip to content

The template editor

The Template Editor is where you design a template. This page shows you how to create one, what each part of the editor is for, and the two tools you will use most: the live preview and find and replace.

Every template is built for one Salesforce object, such as Account, Opportunity or a custom object. This is its base object. Each document the template makes is for one record of that object.

  1. Open the Template Library and click New Template.
  2. The New template dialog opens. Choose Start blank, or pick one of the ready-made starters below it. Each starter card shows a small preview of its layout, its base object and a short description.

The New template dialog, with Start blank at the top and the starter templates below it

To start blank:

  1. Click Start blank.
  2. Enter a Template Name. It becomes part of the generated file name, and it must be unique in your org (capital letters do not make a name different).
  3. Pick the Base Object, and add a Description if you like.
  4. Click Create Template. The editor opens on your first draft.

To start from a ready-made design instead, see Starting from the gallery.

Note: you cannot change the base object after you create a template. If you need a different object, create a new template. Once a template is published, you also cannot change whether it is designed in the editor or uploaded as a Word file (its Source Type). If a save would change either one, Sliick Docs stops the save and explains why: every published version depends on them.

The editor has four parts:

  • Top bar: Save, Generate proof, Preview, Publish, undo and redo, version history, the Test record picker, and find and replace.
  • Left side: the block list and a searchable Merge fields panel.
  • Canvas (middle): the page you are building. Use the Body, Header and Footer switch above it to choose which part of the page you are editing. Drag blocks to reorder them.
  • Right side: four tabs, Block, Page, Template and E-sign, so you only see the settings for what you have selected. Settings sit in cards you can open and close, and the editor remembers how you left them. E-sign has its own tab, so signer roles and signature fields are one click away.

The template editor with its four parts numbered: the top bar, the Merge fields panel on the left, the page in the middle, and the settings tabs on the right

A status bar along the bottom tells you whether the template is valid. Click a warning to jump to the block that needs fixing.

  • Hover over or select a block to see its controls: move, duplicate, delete and wrap. They stay hidden otherwise, so the page reads like a document.
  • Drag blocks between sections. Resize tables and columns directly on the canvas.
  • Dashed lines show roughly where the PDF will start a new page. Use the zoom control to change the view.
  • Move, duplicate and add-after work inside whatever holds the block, including a column or the else part of a Show if block.
  • After you delete a block, an Undo option appears so you can bring it back. It stays available while the undo is still clear-cut.

A selected block on the canvas showing its move, duplicate, delete and wrap controls

If a block, or anything inside it, has e-signature fields placed on it, Sliick Docs asks before deleting it and names the fields, for example “An e-sign field is placed on this block: Buyer · Signature.” Click Cancel to keep the block. Unwrapping a section, callout or columns block with a field on it asks the same question. A block with no fields is deleted straight away.

  • Undo with Cmd / Ctrl + Z. Redo with Cmd / Ctrl + Shift + Z. The body, header and footer each keep their own undo history.
  • Cmd / Ctrl + S saves the field you are typing in, on the canvas or on the right, and leaves your cursor where it was. Anything you type while a save is running is kept.

Note: if you open the same draft in two browser tabs, the editor warns you before one tab’s save overwrites work from the other. Generating a proof or saving signature placement does not trigger this warning.

The formatting toolbar sits in the canvas header and is always shown. Its controls are greyed out until you select a text, heading, table cell, callout or other block that can use them. It is hidden in preview and on published versions, which cannot be edited.

The formatting toolbar with text selected and the colour picker open, showing the brand colours

ControlApplies toWhat it does
FontWhole blockPick from Standard, Built in and Your fonts. Each font is shown in its own face. See Fonts.
Font sizeSelected text, or what you type nextType any size from 6 to 96 pt, or open the slider with preset sizes (8, 10, 11, 12, 14, 16, 18, 24, 36, 48 and 72 pt).
B / I / U / SSelected text, or what you type nextBold, italic, underline, strikethrough. Not shown on headings. Shortcuts: Cmd / Ctrl + B, I, U.
AlignWhole blockLeft, centre, right or justify.
Line spacingWhole blockDefault, 1.0, 1.15, 1.5 or 2.0.
A (text colour)Selected text, or what you type nextPick a brand or theme colour, type a hex code, or Clear.
H (highlight)Selected text, or what you type nextBackground colour behind the text, picked the same way.

You can use the text controls two ways:

  • Select text first, then click a control to change it.
  • Click a control with no text selected, then type. What you type picks up the style.

The buttons show the current state. A button that looks half on means part of your selection has that style and part does not.

To add a link, select text or a merge field and click the link button. The web address can include merge fields, for example https://help.example.com/account/{{Account.Id}}, which fill in for each record.

A test record is the real record the editor uses to show your template filled in. You need one before you can proof or publish.

  1. In the top bar, click the Test record picker.
  2. Search for and pick a record of the base object. Choose one with realistic data, including any related records your template uses (for example, an account with contacts and opportunities).

The editor saves your choice with the template. If you click Generate proof or Preview without a test record, it asks you to pick one.

The Test record picker in the top bar, with Northwind Traders in the list of matching accounts

Once a test record is picked, the canvas shows real values instead of field names:

  • Merge fields show the record’s actual data.
  • Show if blocks show or hide content based on the test record.
  • Totals and counts are worked out from all of the related records.
  • A repeat shows the same rows, in the same order, that the finished document will contain, after its filter, sort and limit are applied. A grouped repeat shows its first group. See Repeats and conditional content.

If no test record is picked, an amber bar reminds you. The preview updates when you save.

When a related list is too long to show in full, the preview shows a sample and says so. When a repeat shows nothing, the preview tells you why: the list is empty, the filter matched no rows (“No rows match this repeat’s filter.”), or the relationship does not exist.

Click the search icon in the top bar to open find and replace. Use it to change a product name, a legal phrase or other repeated text across a long template.

  1. Type the text to find. Tick Match case if capitals matter.
  2. Step through the matches. Each one is highlighted, and the canvas scrolls to it.
  3. Type the new text, then click Replace to change the current match, or All to change every match.

Find and replace searches body text and headings.