Naming Properties
Name is a required field that uniquely identifies the property.
Names are case-sensitive.
You cannot include the following in the name:
• Spaces
• Some special characters
You can include - (hyphens), _ (underscores), $ (dollar sign), and @ (at).
|
If a persistent property has an @ or $ symbol in the name, you cannot export the entity that contains this property to XML.
|
If you include hyphens in the name, they must be referenced using bracket notation. In the examples below, temp-01 is the property name:
var result = me['temp-01'];
var result = Things['ThingName’]['temp-01’];
• Leading numbers
You can use numbers within and at the end of the name.
• Can not have same name as other characteristics
You can not name a property with an existing name for other characteristics, for example: service, subscription, event.
Restricted Keywords
Do not use any of the following words in property names. Doing so will prevent extensions that contain them from being imported.
AlertAttributes
AlertConfigurations
AlertDefinition
AlertDefinitions
ApplicationKeys
Authenticators
ConfigurationChange
ConfigurationChanges
ConfigurationTable
ConfigurationTableDefinition
ConfigurationTableDefinitions
ConfigurationTables
Contents
Create
Dashboards
DataShape
DataShapes
DataTags
Delete
DesignTimePermissions
DirectoryServices
Entities
Entity
Event
EventDefinition
EventDefinitions
EventInvoke
Events
EventSubscribe
ExtensionPackage
ExtensionPackages
FieldDefinition
FieldDefinitions
FileResource
Groups
Handler
HandlerDefinition
HandlerDefinitions
HandlerEntity
ImplementedShape
ImplementedShapes
InstanceDesignTimePermissions
InstanceRunTimePermissions
InstanceVisibilityPermissions
JarResources
License
Licensed
Licenses
LocalizationResources
LocalizationTables
Logs
Mashup
Mashups
MediaEntities
Member
Members
Menus
Metadata
ModelTags
Networks
NotificationContent
NotificationContents
NotificationDefinition
NotificationDefinitions
Organizations
Owner
ParameterDefinitions
Permissions
PersistenceProviderPackages
PersistenceProviders
Principal
Project
Projects
PropertyBinding
PropertyBindings
PropertyDefinition
PropertyDefinitions
PropertyRead
PropertyWrite
Read
Recipients
RemoteEventBinding
RemoteEventBindings
RemotePropertyBinding
RemotePropertyBindings
RemoteServiceBinding
RemoteServiceBindings
Resource
Resources
ResultType
Row
Rows
RunTimePermissions
ScriptFunctionLibraries
ServiceDefinition
ServiceDefinitions
ServiceImplementation
ServiceImplementations
ServiceInvoke
ServiceMapping
ServiceMappings
SharedConfigurationTables
StateDefinitions
StyleDefinition
StyleDefinitions
StyleTheme
StyleThemes
Subscription
Subscriptions
Subsystem
Subsystems
Thing
ThingGroup
ThingGroups
ThingPackage
ThingPackages
ThingProperties
Things
ThingShape
ThingShapes
ThingTemplate
ThingTemplates
UIResources
Update
Users
Visibility
VisibilityPermissions
WebAppResources
Widget
Widgets
Related Links