Asset templates
Listing asset templates
This tab lists all the asset templates created for the project.
Each row includes:
Column | Description |
---|---|
Name | The name describing the asset template. |
Code | Shows the asset template's unique code. |
Git remote | The Git remote associated with this template. |
Newest version | The most recent version or Git revision associated with the asset template. |
Enabled | A toggle button that enables or disables the asset template. |
Archived | Whether the asset template is archived or not. |
note
Asset templates that are in use by an asset cannot be archived.
Buttons & links
Buttons & links | Function |
---|---|
Bulk actions | Allows you to archive or restore multiple asset templates. |
Search bar | Filter the contents of the table based on these criteria. |
Columns | Hide or display columns in the table. |
Creating a new asset template
To create a new asset template, follow these steps:
- Click on the create asset template button.
- Fill in the mandatory fields in the dialog, including the code and name.
- (Optional) Add a description to clarify the purpose of the asset template for other users.
- Select a Git remote from the dropdown.
- Click the Create asset template button. If successful, the new asset template will appear on the asset templates list of the project.
Asset template details and versions
Clicking on a specific asset template row will open its details page, where you can manage the template by:
- Editing the asset template name and description
- Adding, editing and archiving its asset template versions
- Enabling/disabling the asset template
Each row includes:
Column | Description |
---|---|
Version | The version number or identifier for the asset template. |
Description | Provides a short summary or purpose of the template version. |
Git remote | The Git remote associated with the template version. |
State | The current status of the template version, such as whether it’s ready for use or has issues. |
Created at | Timestamp for when the template version was created. |
Updated at | Timestamp for when the template version was last updated. |
Git revision | The specific Git commit or revision that this template version points to. |
Buttons & links
Buttons & links | Function |
---|---|
Bulk actions | Allows you to archive or restore multiple asset template versions. |
Search bar | Filter the contents of the table based on these criteria. |
Columns | Hide or display columns in the table. |
note
Asset template versions that are in use by an asset cannot be archived.
Editing the asset template
To edit the asset template, follow these steps:
- Go to the asset template details page.
- Click on the pencil icon by the asset template name.
- Fill in the fields you need to edit. Note that you cannot edit the template's code.
- Click the Update asset template button. If successful, the asset template will have the updated values that you set.
Adding/editing an asset template version
To add or update an existing template version, follow these steps:
- Click on the Add template version button.
- Fill in the mandatory fields in the dialog, including the version and the Git revision.
- If the version matches an existing template version, a warning message will appear that the version already exists. If it is not in use by an asset, submiting the form will update the existing version.
- Click the Create template version button.