Copied to clipboard

Flag this post as spam?

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


  • Colin Anderson 16 posts 107 karma points
    Nov 23, 2020 @ 12:26
    Colin Anderson
    0

    Custom message on unpublish

    Hi,

    I have a custom Unpublished event, which is working fine.

    My problem is that when I add a message to the Messages collection, it is not being shown in the Umbraco backoffice.

    e.Messages.Add(new EventMessage("Unpublished", "Unpublish message text", EventMessageType.Success));

    The same code works fine in the Published event

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies