An infotable is a zero-indexed, ordered array of objects that expose the same properties.
Since an infotable is an array of objects, it can also be thought of as a spreadsheet where the array entries are rows and the object properties of each object in the array are the columns.
Array in Javascript can be used as below var myArrayOfStuff=[“Pickel”,3,{name:”Bill”,phone:”555-1212”}];
Data shapes also contain other metadata about a property that is useful for formatting and displaying the infotable in a tabular format or Grid. You can declare data shapes in your Edge SDK application and in ThingWorx Composer. Data shapes are required to build a functional infotable. Essentially, ,they are a schema mechanism for defining the required fields of a thing in ThingWorx.
Discover more from My Tricky Notes
Subscribe to get the latest posts sent to your email.