Skip to main content
1-Visitor
April 22, 2015
Question

Script for Get Data Table By TimeStamp

  • April 22, 2015
  • 1 reply
  • 1519 views

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.



    1 reply

    1-Visitor
    April 22, 2015

    I recommend you create a new Service that uses QueryDataTableEntries

    1-Visitor
    April 22, 2015

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

    1-Visitor
    April 22, 2015

    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/