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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Updating the property value in custom widget

JayendraD
3-Visitor

Updating the property value in custom widget

Hi,

 

I have created a custom widget for TWX using eclipse. i have created a property in ide.js file and in runtime.js i have function which gives a base64 value of an image as output. how can i update the property value with this variable value.

 

I have tried using this.setProperty() to update the property value, and the updated property value is displaying in console with this line this.getProperty(propertyname) after this.setProperty() line, but not changing if i bound the property to some label widget to check the change.

1 REPLY 1

@jd_10946270 ,  I am not clear what you are trying to accomplish. I believe you are referring to the <app>ide.js and <app>runtime.js files. If you can post your Extension, I can review and see if there is some direction, which can be provided.

 

 

Top Tags