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

How to create and manage alerts in mashup?

Highlighted

How to create and manage alerts in mashup?

logimage.png

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?

Tags (2)
3 REPLIES 3

Re: How to create and manage alerts in mashup?

You may look into creating a  triggered service, i.e. once some condition is met, a textbox would get populated.

Re: How to create and manage alerts in mashup?

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.

Re: How to create and manage alerts in mashup?

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.