Search Support
-
Saroj PandaJanuary 19, 2017 at 4:09 am #3517
I’m adding the alert messages at different button clicks and closing them on other events´. At one place I want to know if there are any alert messages remained and need to show success alert message.
What is the best way to check if the Alert control has any alert object left.
Regards,
Saroj
SPARK SupportJanuary 23, 2017 at 4:22 pm #3542Hi Saroj,
The best way to check if there is an alert left is to use a value for the ID of an alert when setting one on the Alert control.
Then check page.ui.get(“Alert1”).getAlert({ID#});
Regards,
Stephen P.
Saroj PandaJanuary 24, 2017 at 12:08 am #3550Hello Stephen,
Currently this is the option I’m using. But it adds more scripts (sometime conditional too) to check if the Alerts list is empty.
Can we plan to have few more exposed methods to return the count of alerts, list of alerts.
Also it would be nice if we can work on the appendAlert() method to have optional parameter to insert the alert at specific position in the existing list of alerts 🙂
I’m referring to the screnario when we have multiple alerts of different types and some condition check need to add new alert of some type and I realize this might get more complex 😀
Thanks and Regards,
Saroj
SPARK SupportJanuary 24, 2017 at 3:26 pm #3561Hi Saroj,
As an Enterprise customer, you do have the option of submitting Enhancement Requests via our ticketing system Submit a Ticket.
Please provide specific requirements in your request to be evaluated by the Development Team.
Regards,
Stephen P.
Saroj PandaJanuary 27, 2017 at 12:23 am #3590I have updated the request and we can continue this over the request 🙂
Thanks,
SarojSPARK SupportJanuary 27, 2017 at 11:17 am #3599Hi Saroj
We appreciate your enthusiasm for the SPARK product.
I will look for the Enhancement Ticket to address the request.
Regards,
Stephen P.
-
|
You must be logged in to reply to this topic.