• Saroj Panda
    January 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 Support
    January 23, 2017 at 4:22 pm #3542

    Hi 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 Panda
    January 24, 2017 at 12:08 am #3550

    Hello 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 Support
    January 24, 2017 at 3:26 pm #3561

    Hi 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 Panda
    January 27, 2017 at 12:23 am #3590

    I have updated the request and we can continue this over the request 🙂

    Thanks,
    Saroj

     

    SPARK Support
    January 27, 2017 at 11:17 am #3599

    Hi Saroj

    We appreciate your enthusiasm for the SPARK product.

    I will look for the Enhancement Ticket to address the request.

    Regards,

    Stephen P.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Start typing and press Enter to search