Skip to content

Templates

A template is a reusable component that you design for use in different apps. Templates are self-contained components and a template has no knowledge of the standard apps which embed it. This ensures that you can update the template whenever you need to and, when you make that version of the template live, automatically push the updates to all the apps that embed the template.

You develop both templates and standard apps in the same way. However, you need to decide at the outset which to create because you cannot convert a standard app to a template.

There are some considerations when designing templates:

  • The apps that will embed the template have no knowledge of any fields or actions configured in the template.
  • The only way to pass values from a standard app into a template is by configuring app settings in the template. This allows the app to use rule sets to set the app settings in the template.

Making a template version live

Standard apps can only embed the live version of the template. In a new deployment, the standard templates are not live.

To make a template version live, go to Home > Apps and click Live for the version that you want to use.

Modifying the live version of the template

You cannot edit the live version. Therefore when you need to make changes to this version, you can:

  • Create a new version of the template — on the Designer toolbar, click Designer_toolbar and then Continue. Make the changes and then make the version live. Making the version live will update the standard apps that embed this template.
  • Copy a version of the template as a new template — on the Designer toolbar, click Create_as_new_app and in the Copy as new version dialog, select the Create as new app option. Making the version live will make the template available for selection when adding new components.