Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Can I import a java program to a thingworx widget?
Hey Fernando,
Just to clarify -- you are trying to launch a Java executable from a TWX widget? This is possible, although I'm not sure on the details. I would recommend looking at how this is done for the websocket tunneling widget: https://marketplace.thingworx.com/tools/Web-Sockets-Tunnel-Widget-And-Library
I believe you''d just create a custom widget that linked to a jar executable that you include in your widget extension, this would then download the executable and run on the users machine.
add a java file, in this case, its an SDMWrapper, into a javascript function..
I have a button that I want to execute a java file (SDM Wrapper)
'action': function () {
//here I wanna execute my java file(SDM Wrapper) when I click the button.
}
Hi Fernando,
Were you able to launch the executable?
If yes, how?
Thanks,
Rami
add a java file, in this case, its an SDMWrapper, into a javascript function..
I have a button that I want to execute a java file (SDM Wrapper)
'action': function () {
//here I wanna execute my java file(SDM Wrapper) when I click the button.
}