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

Script for Get Data Table By TimeStamp

Newbie

Script for Get Data Table By TimeStamp

Hi,


By default,Data tables sscript code isn't visible.I need to create a new script for a simple "GetDataTableByTimestamp" where this data table script will take input as time difference between StartDate and EndDate and provide output as Infotable.


Please help on this.



3 REPLIES 3

Script for Get Data Table By TimeStamp

I recommend you create a new Service that uses QueryDataTableEntries

Script for Get Data Table By TimeStamp

but how can I use QueryDataTableEntries . Even its code isn't visible also.I need its javascript code to configure my code.

Script for Get Data Table By TimeStamp

I'm not quite sure where you are building your code, but within Thingworx, you can very easily create services that invoke these built-in services. If you are doing this external, I recommend you still build the service within Thingworx and do a REST API invoke.

As for explanations etc. in regards to these services see the new documentation: http://support.ptc.com/cs/help/thingworx_hc/thingworx_6.0_hc/