Base solution for your next web application
Open Closed

To stop Abp Sweet alert popup #1544


User avatar
0
sampath created

Hi,

When I call a 3rd party web api where it shows below mentioned Abp sweet alert error.Can you tell me how to stop that ? I need to give toaster notification when there is any error on that call.Thanks.

Note : I need to do this customisation only for this request.Not a global one.


3 Answer(s)
  • User Avatar
    0
    sampath created

    Can't we do this ?

  • User Avatar
    0
    hikalkan created
    Support Team

    Currently, no direct way of doing it. The only way I think is to overload abp.ng.http.showError method (<a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.Web.Resources/Abp/Framework/scripts/libs/angularjs/abp.ng.js#L34">https://github.com/aspnetboilerplate/as ... .ng.js#L34</a>), check error message/code and decide to show a message or not. If you can not do and this is really needed, you can create an issue on Github (<a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/new">https://github.com/aspnetboilerplate/as ... issues/new</a>).

  • User Avatar
    0
    sampath created

    Hi,

    Thanks for the feedback.I have put that as an issue.please see that.

    <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/issues/302">https://github.com/aspnetzero/aspnet-zero/issues/302</a>