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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

I am looking to create a function to read a local file content into a variable in Thingworx

jeanluclej
1-Newbie

I am looking to create a function to read a local file content into a variable in Thingworx

I am looking to create a function to read a local file content into a variable in Thingworx (not om the edge). Is that possible, and how? I tryed regular javascript read file functions do far with ho luck  eventually just in the composer first and then in a machup on my local PC in linux or windows.

The idea is to load stuff out of the file and then use that data for other purposes, such as config changes.

2 REPLIES 2
PaiChung
22-Sapphire I
(To:jeanluclej)

Easiest way would be to use the File Repositories and use the Loader functions associated with the File Repository.

Thingworx can easily parse JSON or XML content and with an extension, CSV content

Hi Pai,

How to execute the service and if I need to write values within the file how to read that.

Top Tags