Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • robotichead 2 posts 73 karma points
    Jan 13, 2023 @ 06:19

    Trigger dialog/modal from backend in backoffice


    I have some backend code which is run during a publish. In a specific case it will hit a CancelOperation. Currently the Cancel operation is setup like the following;

    e.CancelOperation(new EventMessage("title", "Message", messageType: EventMessageType.Error));

    This works as expected and a little red notification will appear at the bottom. However I was wondering if I could actually turn this into a dialog/modal instead?

    For example when this specific case occurs the user will get a notification like the following; Example of custom dialog

    From my understanding, I can easily create a dialog (or utilise existing ones) using angular. I just don't know how to; trigger the dialog and feed through the message when this cancel operation is triggered.

    Is this possible to do?

    Thank you

  • Stanislaw 2 posts 72 karma points
    4 days ago

    Hello! Did you manage to find a solution? If so, please share it!

Please Sign in or register to post replies

Write your reply to: