Including a Data Shape
The require statement pulls the functionality of a Data Shape into the template. A Data Shape can define properties, services, and tasks. If a template defines a property, service, or task that has the same name as one defined in the shape file, the definition in the shape file is ignored. Be careful that you do not have duplicate names for these characteristics.
require "yourshape"
The following table describes the require parameter:
Use
To
require
Specify the name of the shape file that contains the properties, services, and task definitions that are to be added to the template file configuration.
The shape file must be located in the directory, \microserver\etc\custom\shapes.
* 
If you intend to use file transfer with this edge device, you must include the following statement:
require "thingworx.shapes.filetransfer"
Was this helpful?