Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Hi,
I want to change image of Value Display widget to toggle when I press the button.
For example, on the first screen, "check.png" image is shown, and "cancel.png" image is shown when I press the button.
And press the button again, "check.png" image is shown again.
Please tell me how to handle button click events in this situation.
Image is in the SystemRepository and get string path from get_check_image service in test_image Thing.
And pass the string path to LoadImage service in SystemRepository Thing.
Thanks in advance.
Jenny.
Solved! Go to Solution.
Try to check the attached mashup... hope it will be helpful.
Here, i have used expression. Based on the expression output, execute the system repository service (LoadImage).
You can go with custom service as well.
Try to check the attached mashup... hope it will be helpful.
Here, i have used expression. Based on the expression output, execute the system repository service (LoadImage).
You can go with custom service as well.
Hi, Sathishkumar!
I analyzed your mashup and it works very well.
But it's a little different from my purpose.
I hope the file name is invisible, not use textfield widget.
I will trying to pass the String path without textfield.
Thank you for your answer.
Jenny.
You can handle in multiple ways, i used "TextBox" for current image name.
There are other possibilities,
of course.
Thanks for the various suggestions. I'll try it too.
Have you resolved the problem? If you have, can you let me know?