cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Ability to set Unit and Low/High Limit on thing property via javascript

Ability to set Unit and Low/High Limit on thing property via javascript

There should be a way to set/update Engineering Units and Low and High Limit of a property via javascript code via the AddPropertyDefinition service. In at least Thingworx 9.1 and backward it is not possible. 

 

The reason why this is vital is that when working on large SCO projects you need a way to easily build your Thingworx application. The common way in the industry is to use Excel sheets that can be exchanged with machine suppliers and then imported into Thingworx. In a production line with several IMM machines, robots, assembly stations, quality stations and printers there might be 2000+  properties that needs to be created. And a site might have 50+ production lines. So the ability to be able to autocreate everything is vital. And since many machines are very custom, there is no way to set it via a template. 

 

The limits and egu is often used in trending components so that the Y-axis range and label can be set automatically and that is why it is important to have this feature. 

2 Comments
uyngvesson
7-Bedrock

And of course the limits should also be editable in Composer when a property is bound to Kepware on a thing. Today they are greayed out as soon as they ar bound. 

olivierlp
Community Manager
Status changed to: Under Consideration

Great suggestion, looking into this. There is the ability to set these programatically,

but it isn't exposed as a supported API. Will look into making public API versions.