Create a new Template Attribute
Template Attributes are the basis of Custom Data Templates in Wholechain, which allow you to capture unique data at each supply chain event in your product's journey. Wholechain makes it easy to create attributes, after which you can include in any custom templates that you create. Here's how to create a Template Attribute:
- Navigate to the Settings page from the top right-hand corner of your dashboard
- Click on the Template Attributes tab
- Click Add Attribute at the bottom right-hand corner of your screen. A new line with the following fields will appear:
- Field : The name you assign to Field Attribute can be anything that would describe the data that the attribute would contain
- Property name: This value is generated automatically as you type the Field name, but it can be edited by selecting Enable Advanced Settings at the top of the screen. The Property Name determines how the attribute is classified in the backend code for your event data.
- Field Type: Five different field types are available in the Template Creator. Select the option that best matches the format of the data you need to collect.
- Values (optional): Used when the Field Type is set to Radio Button or Dropdown. Here you can define preset values that users can choose from. You may also set a default value that will automatically appear when logging events with this Template Attribute. This helps streamline data entry and improves efficiency.
- Click the Checkmark when you have finished inputting the relevant information. The new Template Attribute will appear under the Template Attributes dropdown when creating a template on your Templates page. You'll be able to add it to any new Custom Data Template that you create.
*Note: There are certain interoperable standards that require very specific Property Name values (code). Please connect with a Wholechain representative to discuss your data-collecting needs and to ensure that you are in alignment with these universal standards for your specific supply chain.