Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Data Templates play a crucial role in FactoryStudio projects by facilitating facilitate the creation of tags with predefined attributes and , organizing them into hierarchical structures that represent assets or information models. Utilizing Data Templates enables users to access tag attributes effortlessly and manage their data with increased efficiency. To employ a Data Template in a project, users need to create a new tag and select the appropriate template type. The tag will then inherit the defined attributes from the template, allowing users to access and manipulate these attributes as required throughout the project.

This document serves as a comprehensive guide for understanding, configuring, and working with Data Templates in FactoryStudio projects. It aims to streamline data management, enhance system efficiency, and simplify the process of accessing tag attributes. The document will cover the following key topics: Overview, Understanding Using Data Templates, Data Templates Configuration, and Working Using Data Templates.


On this page:

Table of Contents
maxLevel3
minLevel2


Data Templates Configuration

Creating Templates

Templates allow you to create new tag types based on a data structure using existing built-in types and previously defined Templates.

To create a tag template:

  • Go to Unified Namespace → Data Templates.
  • Click New.
  • The "Create New Tag Template" dialog will open.
  • In the "New Name" field, enter a name for the tag type. In the Description, enter a description of the tagtemplate. Click OK. The Templates tab displays with the name of the new template at the top of the tab.Click the insertion row to

Image AddedImage Added


To create a new attribute for this

tag template.Enter or select information, as needed

Data Template, type into the first row of the table next to it and press enter after adding all the information. The properties here are the same ones for Tags. See Creating and Editing Tags

above

for more information. 

Image Added

To delete a template, select it from the User Custom Type drop-down list, then click Delete Item

.On the Objects tab, you can now use this new template in the Type column

.

Image Removed


Using Data Templates

in Projects

Data templates streamline the creation of tags by supplying predetermined attributes. By employing these templates, users can efficiently manage data by upholding a logical and hierarchical structure representing assets or informational models.

To implement a Data Template in your project:

  1. Navigate to the 'Tags' tab and click on 'New Item' to create a new tag.
  2. In the 'Type' dropdown row, you can select the desired template. If a tag has already been created, select the desired template from the 'Type' column.
  3. The tag will inherit the attributes from the chosen template.

Image Removed

Assets Templates

Asset Templates are a vital aspect of FactoryStudio, allowing users to create reusable data structures and logically organize tags into hierarchical representations of equipment or information models. This organization helps to enhance data management and improve overall system efficiency.

Building Custom Data Types

Custom Data Types, or User-Defined Types (UDTs), can be created to represent complex data structures in the Unified Namespace. These UDTs can include multiple tag attributes, allowing users to model various properties of an asset, such as its current state, operational parameters, and historical data. Building custom data types ensures a more accurate and comprehensive representation of assets and their associated tag attributes.Image Added


In this section...

Page Tree
root@parent
spacesV10