Publish the catalog
You do not publish a single template. You publish the catalog it belongs to. Publishing turns everything that changed in the catalog’s Next release into a release with a version number, such as v1.2.0.
A release never changes, so you always know what an application got.
Before you publish
Check the PDF with realistic examples. Look at:
- required and optional fields;
- repeated content;
- the theme and stencils you intend to use.
Ask the document owner to approve the wording. Publishing includes every change in the catalog, not only your template, so check that the other changes are ready too. To publish, you need the content publisher role.
Steps
- Wait until the editor shows Saved.
- Look at the bar at the top of the page. It says how many changes are not published yet, for example 1 change not published (before the first release: Not published yet).
- Choose Publish… in that bar.
- Read the dialog. It lists what changed and shows the version number the release will get. Corrections raise the last number, additions the middle number, and breaking changes the first number.
- Choose Publish.
- Check the result. The bar now says Everything is published, and the catalog’s Releases page lists the new release.
A stencil that no longer fits a template, for example because a parameter was renamed, blocks publishing. Fix the template, then publish again.
To change a published document, change the Next release and publish again. The new release gets a higher number, and the earlier release stays as it was.
Which release a document uses
A request for a document renders a release of the template’s catalog. A request without an environment gets the highest release (the highest version number). If the request names a version range, such as ^1.4.0, it gets the highest release that matches.
Environments, such as Test or Production, are optional. They let you control which releases an application gets: a request that names an environment gets what you deployed there. The Publish… dialog can deploy the new release right away under Deploy to. A test environment can also follow your work as you save it. From template to document explains how this works.
Hand over to the connected system
The connected system asks for the document through its own integration settings. Give its owner the catalog and template keys, the variant, the contract, and the examples you agreed on. Also agree which environment or version range the system asks for.
For detailed steps, follow Publish a template. For recovery, see Publishing problems. For revisions, see Update a published template.
In short
- You publish the whole catalog, not one template: every change in the Next release becomes a release with a version number.
- A release never changes. To change a published document, change the Next release and publish again.
- Agree with the owner of the connected system which environment or version range it asks for.
Documentation
Guided tour
Exercises
Integration guides