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

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Not getting the Data

SP_9715784
12-Amethyst

Not getting the Data

When data is Queried through the "QueryNamedPropertyHistory", I am getting data as shown in the following table.

 

SP_9715784_1-1611224528628.png

 

 

But if do with following code:

 

var result1 = ThingTemplates["Temp_DemoThingTemplate"].QueryImplementingThingsWithNamedPropertyHistory({
	propertyNames : {
      "rows": [{
          "name": "WaterPump",
          "description": "propertyDescription"
      }],
      "dataShape": {
          "fieldDefinitions": {
             
              "name": {
                  "name": "name",
                  "aspects": {},
                  "description": "",
                  "baseType": "STRING",
                  "ordinal": 1
              }
          }
      }
  },
	nameMask: undefined /* STRING */,
	maxDataItems: 50000 /* NUMBER */,
	dataQuery: undefined /* QUERY */,
	startDate: StartDate /* DATETIME */,
    endDate: EndDate /* DATETIME */,
    oldestFirst: undefined /* BOOLEAN */,
	tags: undefined /* TAGS */
});
result = result1;

//QueryImplementingThingsWithNamedPropertyHistory

 

 

 

I am getting no data in info table

 
 
 
 
 
1 REPLY 1

What is the Thingworx version you are using?

Announcements


Top Tags