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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Property value not updating in custom widget

bmdeshmukh18
8-Gravel

Property value not updating in custom widget

Hello @VladimirN@sabharees 

 

I am also facing a somewhat similar issue.
I have checked the old discussion in above post and added the changes, but it is not working for me.

 

I have a property with BASETYPE as NUMBER in custom widget, for which I have set "isBindingTarget" as TRUE and default Value of 15.
In the Mashup Composer I am passing a value from service to this widget property, This value from the service is 30.

When I am loading the mashup, I see that the widget is taking value of 15 instead of 30 when I am calling "this.getProperty()" to read the property value.

As suggested in the URL discussion of previous post, I also added the updateProperty block of code. Also my value is not changing continuously.
But the value for any property must be taken from the binding if any binding is present.


What is it that I am missing here.

 

Thanks and Regards,

Bhushan

 

1 REPLY 1
KSM
14-Alexandrite
14-Alexandrite
(To:bmdeshmukh18)

Hi Deshmukh,

 

while defining the property, please make sure that persist option should not be selected. perhaps because of this also it is displaying only the default value 15.

 

Thanks

KSM

Top Tags