New Feature - Templates in Remote Config

We’re excited today to announce the launch of Templates in Remote Config & Game Overrides!

Templates give you the ability to add a safety layer of validation to JSON keys using JSON schemas. Once a Template has been configured, all updates to a key’s value in the dashboard can also be completed with a form interface instead of JSON.

Templates and validation for Remote Config keys

With Templates, you can configure schemas for your JSON which define both the shape of objects and constraints for fields. For example, you might have a “missions” object where each mission must be a certain shape with certain field types. Once you’ve defined a Template and attached it to a key, every time the value is updated it is checked against the schema - reducing the likelihood of mistyped characters and misshapen objects.

Update keys through a new user interface

Templates also unlock a new way to edit values in both Remote Config and Game Overrides: through an auto-generated form. Once a Template has been created we’ll automatically generate a form which can be used to update the key’s value. Field lengths, types and metadata can be defined when creating the Template which will be automatically checked through the form.

Set everything up once and confidently hand control over your configuration to anyone else in your team - no more accidental broken configs.

You can learn more about Templates by visiting the docs (including some handy examples) or by checking it out in the Unity dashboard.

2 Likes