Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Hi,
I wanted to give a popup message on clicking a button.
Instance: I am using a save button which saves the report.Here,
On clicking the save button i wanted to display a pop up which says "saved successfully".
I have written a validation like "not null" values will not get stored, so if anyone tries to save with null values the popup should say "Save Unsucessful"
Please provide some idea.
How can I make it possible?
Thanks,
V.Shalini.
Solved! Go to Solution.
Good day @svisveswaraiya,
Another possibility you can do is to use the built-in service notifications of the service you fire. This can be found in the services area of the mashup on the right the blue arrows. If the service is completed without an error or not completed it gives a popup message (see below images). I however do not know of a way to display the reason for the error.
Hope this helps.
Johan Bester
From the validation result you can use a Validator/Expression widget .And if the validation result is passed to Validator widget ,then it can be evaluated on the expression property in widget .Also there are true and false event from Validator widget ,you can use them according to the expression and pass it to the status message widget .There is a service showMessage in status message widget which can populate appropriate message on the mashup.
Good day @svisveswaraiya,
Another possibility you can do is to use the built-in service notifications of the service you fire. This can be found in the services area of the mashup on the right the blue arrows. If the service is completed without an error or not completed it gives a popup message (see below images). I however do not know of a way to display the reason for the error.
Hope this helps.
Johan Bester
Hi Johan,
Thanks a lot. It helped me and I am able to display it.