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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Thingworx java extension

Test_user
9-Granite

Thingworx java extension

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.

 

1 ACCEPTED SOLUTION

Accepted Solutions

In Windows and installed with Thingworx Installer,

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

View solution in original post

6 REPLIES 6

give the absolute path of /TestExcel.xlsx

Ex. C:\Text.xlsx

Okay.

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

 

Check out in following folders...

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

Where  

  • \ThingworxStorage is placed in Thingworx server?
  • Where \tomcat\apache-tomcat-9.0.62\webapps\Thingworx is palced in thingworx server.

Please help me over here.

 

In Windows and installed with Thingworx Installer,

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

Thank you.

If I have to make changes in TestExcel.xlsx file for example: IfI want to add some text at line number 1,is it mandatory to change at both the places?

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