Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Script for Get Data Table By TimeStamp

ptc-6292037
1-Visitor

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
paic
12-Amethyst
(To:ptc-6292037)

I recommend you create a new Service that uses QueryDataTableEntries

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

paic
12-Amethyst
(To:ptc-6292037)

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/




Announcements


Top Tags