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

Thingworx extension -java

  • February 23, 2023
  • 1 reply
  • 1457 views

How to remove unwanted String that is displaying in excel file which is developed using java(Eclipse Plugin for ThingWorx Extension Development

 

I am getting unwanted string at specific line number as   for example : ??????????

I am not passing this string "??????????" anywhere in the code.

 

InputStream in=TestThingShape.class.getResourceAsStream("demo.xlsx");

 

I am not sure about where demo.xlsx is placed in the Thingworx server.Please help me over here.

 

 

 

 

 

 

 

 

 

 

 

 

Best answer by Sathishkumar_C

check out in following path, if it is windows..

 

C:\Program Files (x86)\ThingWorxFoundation\tomcat\apache-tomcat-9.0.62\demo.xslx

 

Also refer following post..

https://community.ptc.com/t5/ThingWorx-Developers/Thingworx-java-extension/m-p/857179#M61298

 

1 reply

17-Peridot
February 23, 2023

is that possible to have that extension here?

Test_user10-MarbleAuthor
10-Marble
February 24, 2023

Okay.

 

InputStream in=TestThingShape.class.getResourceAsStream("demo.xlsx");

 

I am passing demo.xlsx .I am not sure about the location of demo.xlsx. I am thinking it might be placed somewhere in the  default folder?

What will be the default folder .Please help me over here.

17-Peridot
February 24, 2023

check out in following path, if it is windows..

 

C:\Program Files (x86)\ThingWorxFoundation\tomcat\apache-tomcat-9.0.62\demo.xslx

 

Also refer following post..

https://community.ptc.com/t5/ThingWorx-Developers/Thingworx-java-extension/m-p/857179#M61298