|
In ThingWorx, some reserved names can not be used as Data Shapes Field names. For example, ThingShape.
|
Base Type
|
Description
|
||
---|---|---|---|
BASETYPENAME
|
A valid BaseType name.
|
||
BLOB
|
A binary large object.
|
||
BOOLEAN
|
A true or false value.
|
||
DASHBOARDNAME
|
The name of a dashboard.
|
||
DATASHAPENAME
|
A reference to a Data Shape in the model, and therefore has special handling.
|
||
DATETIME
|
A formatted date and time.
|
||
GUID
|
Globally unique identifier.
|
||
GROUPNAME
|
A user group name.
|
||
HTML
|
HTML content.
|
||
HYPERLINK
|
A standard URL (e.g., www.ptc.com).
|
||
IMAGE
|
Binary data that can be rendered as an image.
|
||
IMAGELINK
|
A URL link to an image.
|
||
INFOTABLE
|
A standard representation of data in ThingWorx that is similar to a SQL result set. There are a number of built-in services for building, consuming, and parsing an infotable.
|
||
INTEGER
|
A number that can be written without a fractional component.
|
||
JSON
|
A JavaScript Object Notation object.
|
||
LOCATION
|
Standard World Geodetic System (WGS) 84 coordinate, expressed as [longitude, latitude], elevation.
|
||
LONG
|
The LONG type should be used when a range longer than the INTEGER base type provides is required.
|
||
MASHUPNAME
|
A reference to a ThingWorx mashup, and therefore has special handling.
|
||
MENUNAME
|
The name of a menu.
|
||
NOTHING
|
Contains nothing (void).
|
||
NUMBER
|
A number.
|
||
PASSWORD
|
A masked password value. See Passwords for more information. For information about encryption methods, see Encryption.
|
||
QUERY
|
A JSON object that includes an array of "filters.” Each filter should include "value," "type,” and "fieldname".
|
||
SCHEDULE
|
A cron based schedule, configured using the Schedule Editor.
|
||
STRING
|
Any amount of alpha numeric characters.
|
||
STYLETHEMENAME
|
A reference to a style theme and therefore has special handling.
|
||
TAGS
|
ThingWorx tag values.
|
||
TEXT
|
Any amount of alpha numeric characters. The difference with STRING is that TEXT is indexed.
|
||
THINGCODE
|
A numerical representation of a Thing containing a DomainID and InstanceID. For example, 2:1.
|
||
THINGNAME
|
A reference to a Thing and therefore has special handling.
|
||
THINGSHAPENAME
|
A reference to a Thing Shape in the model, and therefore has special handling.
|
||
THINGTEMPLATENAME
|
The name of a Thing Template.
|
||
TIMESPAN
|
A TimeSpan object represents a time interval (duration of time or elapsed time) that is measured as a positive or negative number of days, hours, minutes, seconds.
|
||
USERNAME
|
A reference to a ThingWorx user defined in the system.
|
||
VEC2
|
A collection of two numbers. For example, 2D coordinates x and y.
|
||
VEC3
|
A collection of three numbers. For example, 3D coordinates x, y, and z.
|
||
VEC4
|
A collection of four numbers. For example, 4D coordinates x, y, z, and w.
|
||
XML
|
An XML snippet or document.
|