Skip to content

Set Up an Asset Storage Template

This how-to creates an Asset Storage Template and applies it to an Asset.

Prerequisites

What Is an Asset Storage Template?

Asset Storage Templates let you add pre-defined Key/Value storage pairs to any Asset. You can apply multiple Asset Storage Templates to an Asset, and even override individual keys at the Asset level. More information about Asset Storage Templates is in the Game Settings documentation.

Create an Asset Storage Template

To create a new Asset Storage Template, navigate to the Asset Storage Template menu in the Game Settings menu by clicking the Settings icon on the left bar of the Web Console.

Click Create Asset Storage Template in the top right corner to create a new template. Enter the name of your template in the pop-up modal and click Create.

Create Asset Storage Template pop-up modal for naming a new template

In the new template, click Add Key/Value Pair to create a key/value pair and enter text in the key and value fields. This example creates two key/value pairs with the following information:

KeyValue
CountrySweden
CityStockholm

Once complete, click Save to save these key/value pairs. Your template should look something like this:

Asset Storage Template with Country and City key/value pairs added

Add an Asset Storage Template to an Asset

Navigate to the Asset Manager by clicking Content on the left bar of the Web Console.

Content menu in the left sidebar of the Web Console

Select the Asset you want to add a template to and navigate to the Filters & Storage tab in the Asset's menu. Click Add Storage Template in the Key/Value Storage section, then select the template you want to apply from the dropdown in the pop-up menu.

Dropdown for selecting an Asset Storage Template to apply to an Asset

Click + Add Asset Storage Template to apply this template to the current Asset. The two key/value pairs now appear in the Key/Value Storage section.

Asset Storage Template's key/value pairs applied to an Asset

To override the values in the key/value pairs, enter alternative values in the Effective Asset Value field — the Template Value is then crossed out.

Effective Asset Value field overriding a Key/Value Storage Template value

Conclusion

You've created an Asset Storage Template and applied it to an Asset. Apply the same template to other Assets, or create additional templates for other sets of Key/Value data.