Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
I have a button called "continue", if I click on that button, that button should disappear.
how to do this?
Solved! Go to Solution.
Hi Bavithraa Marimuthu,
You can use an Expression widget for that with an an expression with returns false.
example Expression: 1==2?true:false
Set OutputBaseType as Boolean
And check the Output property.
Bind the click event of button to Evaluate of Expression widget.
and link the output of Expression widget to visible property of the Button
Do let me know if you face any issues.
Hi Bavithraa Marimuthu,
You could call a service when "Clicked" event is triggered for the button widget;
in the service you could return false and then bind the reuturn boolean value to the visible propterty to the button.
1. in your service author like this:
2. in mashup build like this:
Hope this helps,
Br,
Anna
Hi Bavithraa Marimuthu,
You can use an Expression widget for that with an an expression with returns false.
example Expression: 1==2?true:false
Set OutputBaseType as Boolean
And check the Output property.
Bind the click event of button to Evaluate of Expression widget.
and link the output of Expression widget to visible property of the Button
Do let me know if you face any issues.
Also, set the visible property of Expression widget to false so that it does not show at run time.
But no button displays in the mashup
And check the Output property of Expression widget to true initially.
Now it works fine now. Even if we set the visible property of Expression widget to true it does not affect the output.