Base solution for your next web application
Open Closed

Ticketdesk, register to ticket events #2270


User avatar
0
rvanwoezik created

Hi, I have added a ticket desk system, where users can create tickets for support etc. Also I have added to the TicketAppService a notification

await _notiticationPublisher.PublishAsync("NewTicketCreated", new NewTicketCreatedNotificationData("rene", "title van een ticket"));

Now In the Topbar i get a notification badge, put the notification text is a questionmark. with no text.

Can you please guid me in the direction to add custom text.


2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    You need to define a message formatter for your notification data, you can check this for example <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/6707ad619d4401475553e28d899f764a573a617f/src/Abp.Web.Resources/Abp/Framework/scripts/abp.js#L276">https://github.com/aspnetboilerplate/as ... bp.js#L276</a>

  • User Avatar
    0
    rvanwoezik created

    Hi,

    Cool, I love it!