Skip to main content
10-Marble
February 19, 2023
Solved

Thingworx java extension

  • February 19, 2023
  • 1 reply
  • 2041 views

Below line of  code has been written in thingworx java extension in eclipse
InputStream in = TestExcel_TS.class.getResourceAsStream("/TestExcel.xlsx");

 

where can I find TestExcel.xlsx in Thinghworx server.

 

Please help me over here.

 

Best answer by Sathishkumar_C

In Windows and installed with Thingworx Installer,

  • C:\Program Files (x86)\ThingWorxFoundation\ThingworxStorage
  • C:\Program Files (x86)\ThingWorxFoundation\tomcat\current\webapps\Thingworx

1 reply

17-Peridot
February 19, 2023

give the absolute path of /TestExcel.xlsx

Ex. C:\Text.xlsx

Test_user10-MarbleAuthor
10-Marble
February 20, 2023

Okay.

The file TestExcel.xlsx has been placed somwhere in the thingworx server.how to check where it is placed in Thingworx?

 

17-Peridot
February 20, 2023

Check out in following folders...

  • \ThingworxStorage
  • \tomcat\apache-tomcat-9.0.62\webapps\Thingworx