Skip to content

Word output

Sliick Docs can make a PDF or a Microsoft Word (.docx) file from the same template. You keep one template, and get two kinds of file. The data in the document is the same either way. Word files are always made inside Salesforce.

The Formats this version makes card with PDF and Word both ticked, while reps can still only make PDF

Each version of a template says which formats it makes. On a draft, the Formats this version makes card has two boxes, PDF and Word (.docx). At least one must stay ticked.

  • In a designed template, the card is in the editor’s right-hand panel.
  • In a Word-file template, it is on the Output tab.

How it works:

  • Publishing makes the change live. Until you publish, people keep getting what is live now. The card tells you what that is, for example “Reps can make: PDF.”
  • A published version cannot be changed. To change its formats, create a draft, tick the formats you want, and publish. A new draft starts with the formats that are live.
  • You are warned before you remove a format. For example: “Reps can no longer make Word files from this template. Flows and batches that ask for Word will stop until you publish it with Word again.”
  • Tick both and people see Generate PDF and Generate Word buttons on the record page.
  • Tick one to allow only that format. For example, a signed contract that must never go out as an editable Word file.

Every way of making a document follows these settings: the record page, Flows, batches, the list-view action, bundles and e-signature. If someone asks for a format the template does not make, they are told which one to ask for instead, for example: “Ask for Word instead. “Quote” makes Word files only.” A Flow, list-view action or batch that does not name a format gets the template’s own: PDF if it makes PDFs, otherwise Word.

You want to sendPick
A final document that goes out as it is (statements, invoices, receipts)PDF
A draft the other person will mark up (contracts, offer letters)Word. Set it to Editable if they need to change Salesforce values too (see below).
A document you will tailor for each recipientWord
A document that must not be changed, for compliancePDF
  • On the record page, from the Sliick Docs Generator card.
  • In all three Flow actions, using the Output Format input.
  • On the Doc Batches tab and with the bulk Flow action, in Individual output mode only.
  • With the list-view mass action, when the template makes Word only (the list-view action has no format choice).
  • For a bundle on a single record. The Word file has one section per template in the bundle. Each keeps its own header, footer, image watermark, page setup and theme, and page numbers start again for each one.
  • When checking a template while you build it, which can show both formats.
  • Combined batches are PDF only. For a Word batch, use Individual output mode.
  • Text watermarks set in Sliick are PDF only. Word files leave a text watermark out. Image watermarks do carry into Word.
  • Barcodes are PDF only. A template with a barcode block cannot make Word files. If you need both, use two templates: one for the editable Word file and one for the PDF with the barcode.
  • A template first published on an early version of Sliick Docs may need to be published once more before it can make Word files.
  • A Word-file template with pictures saved before 3.5 makes no Word files until it is saved again with the Word add-in or uploaded again, then published. Its PDFs keep working. See Pictures.
  • A Word file with many large pictures, from a Word-file template, can fail with Salesforce’s own memory error. On the record page, tick Generate in background and generate again, or choose PDF. See Generate in background.

The Salesforce values in Word setting, set to Locked

By default, values in a Word file that come from Salesforce cannot be edited or deleted. That covers fields, totals, row numbers, pictures from a field, signer names and links. The reader can still change the wording around them. Clicking a value in Word shows which field it came from, such as Opportunity.Amount.

To change this, use Salesforce values in Word in the template’s output settings: the Output card on the Template tab for a designed template, or the Output tab for a Word-file template.

  • Locked (the default): values cannot be edited or deleted. A sentence that contains a value cannot be reformatted all at once, so you cannot bold the whole sentence in one go.
  • Editable: values are ordinary text.

The setting applies when the document is made, so you do not need to publish again after changing it. It has no effect on PDFs.

Good to know:

  • This guards against accidental edits. It is not a security control. Someone who knows Word well can remove it. To prove a document has not been changed, use the audit fingerprint or e-signature.
  • Some values in a Word-file template cannot be locked, for example a tag inside a Word field, in a picture’s alt text, or inside a plain-text or drop-down control you added. The Output tab tells you how many there are. They print unlocked.
  • Tested in Microsoft Word for Mac. Word for Windows, Word for the web, LibreOffice and Google Docs have not been tested yet.

Word files from designed templates are spaced like the PDF

Section titled “Word files from designed templates are spaced like the PDF”

A Word file made from a designed template uses the same spacing as its PDF:

  • A paragraph with no spacing of its own gets no extra space after it, and prints single-spaced.
  • Headings get no extra space of their own.
  • The line spacing you set in the editor prints at the same height as in the PDF.
  • Cells in a data table get 6 pt of padding on every side.
  • The gaps around tables, callouts, sections, images and dividers match the PDF.

A few things still differ from the PDF: a section’s side padding does not indent its contents in Word, a list ends with no extra space after it, and the running header prints at body text size.

Word files keep the branding from when you published

Section titled “Word files keep the branding from when you published”

A Word file uses the theme (colours, fonts and so on) saved when the template was published, the same as its PDF. That is true for a single template and for each template in a bundle. If your organisation rebrands later, Word files keep the old branding, matching their PDFs, until you publish the template again.

You do not need to put an extension in the File name pattern. It changes to match the format that was made:

  • Pattern {{Account.Name}} - Quote.pdf, made as Word, gives Acme Corp - Quote.docx.
  • Pattern {{Account.Name}} - Quote.docx, made as PDF, gives Acme Corp - Quote.pdf.

See File names. Salesforce can preview Word files, so .docx files open in the Files viewer just like PDFs.

Note: you can also build a template by uploading a Word file. That is a different thing from making Word files as output. See Word-file templates.