Work on drafts with Require publishing

Turn on Require publishing
- Go to Settings › Documents & printing.
- Under Template publishing, turn on Require publishing.
- Click Save in the save bar.
What becomes a draft
Saved changes to a template’s content stay a draft: its code or blocks, its watermark and its paper size. Everything on the template’s settings page applies straight away, draft or not: the name, what it renders, the document type, the language, pre-selection, who gets the template and delivery.Work on a draft
- Open the template in the editor and make your changes.
- Click Save. The editor shows Draft — unpublished changes.
- Keep working and saving as often as you like. When the template has no draft, the editor shows Published.
Publish a draft
- Open the template in the editor. With a draft waiting, the editor opens on the draft.
- Save any unsaved changes first. Publish is turned off while you have unsaved changes (“Save your changes before publishing.”).
- Click Publish. The draft goes live and Foliant shows “Template published”.
Discard a draft
- In the editor, next to Draft — unpublished changes, click Discard draft.
- In Discard the draft?, click Discard draft to confirm.
Good to know
- Every save is kept in the template’s version history, whether Require publishing is on or off.
- Templates made from a design always publish when they save. The design editor saves automatically as you go.
- If you turn Require publishing off while a template has a draft, the editor opens on what’s live. The draft stays in the history.
- Restoring an old version with Require publishing on creates a new draft from it. Publish it to make it live.
- Changing a shared section puts the change in the draft of every template using it. Publish each template to make it live. See Saved blocks and shared sections.