Update a published template
Change a template in the Next release, check the change, and publish a new release. Fix a release in parallel work when other work is not finished.
User guide navigation
On this page
A release never changes. To change a published template, you edit it in the catalog’s Next release and publish a new release. The model behind this is in From template to document.
Before you begin
You need Content Author access, in a catalog you can change. To publish the new release, you need Content Publisher access. Decide which variants need the change. Also decide whether it affects wording, layout or the data the template expects.
Make the change
- Open the template. The bar at the top says Next release and what is not published yet. Everything is published means nobody has unpublished work in this catalog.
- If there are changes that are not published, find out whose they are before you start. They go into the same release as your change.
- Open the template’s Variants tab and choose Open editor on the variant. Make the change. The editor saves by itself.
- If you add a field or change a field type, update the Data Contract and its examples too. A field that is removed, changes type or becomes required is a breaking change. Discuss it with the owner of the connected system.
- If you change a theme or stencil, remember that every template in the Next release that uses it changes along with it.
While you work, the published releases stay as they are. Applications do not see your change until you publish, unless a test environment follows your work.
Check and publish
Preview the variant with the same examples as before. Also test long data, optional values and conditions. How to compare with what applications get now is in Compare versions.
Ask the document owner to review the new wording as well as the layout. Then follow Publish a template. The dialog lists your change and proposes the next number. Tell the owner of the connected system which release has the change, and whether the expected data changed.
If you change several variants, check each one. Fixing the default variant does not change the other languages or brands.
Fix a release while other work is not finished
Sometimes the Next release holds work that is not ready, and a fix must go out today. Start parallel work from the release that applications use. Parallel work is a separate draft with a name, kept apart from the Next release.
- Open Releases in the catalog’s side nav and open the release that needs the fix.
- Choose Start parallel work from this release and give it a name, for example fix-middels. You can also use Start parallel work… in the menu on Next release in the bar.
- Check that the bar now names your parallel work, not Next release. The unfinished work is not here.
- Make the fix and choose Publish…. Epistola proposes the next patch number.
- Switch back to Next release in the bar. It is now behind the fix: if you publish it without the fix, the mistake comes back. Use Merge… to bring the fix in, or make the same change again yourself.
Merge… is an alpha feature. Where both sides changed the same resource, Epistola asks you to choose. The training course Releases in practice practises this.
Throw away unpublished work
If the work in the Next release is not wanted, open the catalog. Under Releases, choose Discard next to Next release. You also find Discard all changes on the Next release page under Advanced. The Next release then starts again from the highest release (the highest version number).
For parallel work the button is Discard this work. You need Content Publisher access for both.
All unpublished changes in the catalog are lost, including other authors’ work in other templates. Talk to them before you confirm.
If a published release contains a mistake, publish a new release with the correction. Do not change shared fonts or images to hide the mistake: the release keeps its own copy, so that does not help anyway.
Documentation
Guided tour
Epistola is open source, not free of cost. The organisations that use it fund its development, through Epistola or an Official Partner. We are steward-owned: fair prices, no profit maximisation. How Epistola is funded →