WebAug 2, 2024 · Create a data shape for each set of columns. In your service accept an input to determine which table to return Define an output type of infotable. write code to create a table based on a Data Shape and return. // CreateInfoTableFromDataShape (infoTableName:STRING ("InfoTable"), dataShapeName:STRING):INFOTABLE (Case … WebThingWorx Model Definition in Composer > Modeling > Things > Thing Services > Iterating Through a Thing's Properties Iterating Through a Thing's Properties You can easily iterate through a Thing's properties and examine the …
Solved: How to code extracting column value from …
WebJul 13, 2024 · Jul 13, 2024 02:52 PM. I want to add a column to the info table and as well as data shape which is associated with this info table. result.AddField ( {name : "isSubScribed", baseType : "BOOLEAN"}); it is added in the infotable and name is displaying on all rows. and my datashape is also not updated with this field definition. WebFeb 26, 2024 · How to create an InfoTable without a DataShape in ThingWorx Modified: 26-Feb-2024 Applies To ThingWorx Platform 5.0 to 9.3; Description How to create an InfoTable without assigning a DataShape to it; Creating an infotable from service; This is a PDF version of Article 181457 and may be out of date. ... how do chickens move
Solved: Example of creating and populating an INFOTABLE in
WebJan 2, 2024 · Step 1: Before we proceed any further make sure your datasets are located in the below mentioned path. C:\PTC\ThingworxManufacturingApps\ThingworxStorage\repository\SystemRepository Step 2: … WebAug 16, 2024 · Just a service in a Thing should do. use the createinfotablefromdatashape to create an empty table then step through the json object create row objects and then add those to the empty table. 0 Kudos Reply Notify Moderator supandey 19-Tanzanite (To:RN_8282441) Aug 17, 2024 11:19 AM WebJul 29, 2024 · The input is InfoTable without DataShape, it can be any InfoTable, with any filed definition. Now to make this service possible, I need to read data from InfoTable rows dynamically. Normally, I can use row.FieldName to get field value. But in my case, the feild name is a variable, so I want to use some function like row.values [myVariable]. how do chickens molt