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

Community email notifications are disrupted. While we are working to resolve, please check on your favorite boards regularly to keep up with your conversations and new topics.

Not getting the Data

SP_9715784
11-Garnet

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?

Top Tags