Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hi,
I have written a custom service for getting the log details of my service. How to get the details of log as an alert from script logs when the mashup is loaded?
How to create a basic alert in mashups?
Could anyone please explain me in detail?
You may look into creating a triggered service, i.e. once some condition is met, a textbox would get populated.
There are services for all this.
Creating Alerts is part of the ThingShape/ThingTemplate/Thing
Retrieving and Handling can be done from the Alert Stream
I don't remember if there is a subsystem as well or not with services for this.
Hi Bavithraa Marimuthu,
As per my understanding; you want some popup to shown as alert on your Mashup. You can use Status message widget for that.
Add your custom service in your Mashup with OnLoad checked so that service is invoked as soon as Mashup is loaded.
Also, bind the output of the Service to the message property of the Status widget.
Now on ServiceInvokeCompleted of this service (available in the right bottom after clicking on the custom service) bind the showMessage event of the Status widget.
So, as soon as the Mashup is loaded you will get a popup with the alert.
I hope it helps.