Missing Webhook Events - ContentMovedWebhookEvent

Looking at the source for v13 there is a web hook event that I need but it is not available in the UI and I’m not sure why. All indications seem to be that it should be available. What I would like is for the ContentMovedWebhookEvent event to be available when adding Webhooks in the UI.

Is there a specific reason it is not available?

For some reason, they’re not all enabled by default. You can add what you need though, as described here:

So in your case:

using Umbraco.Cms.Core.Composing;

namespace MyNamespace;

public class CustomWebhookComposer : IComposer
{
    public void Compose(IUmbracoBuilder builder)
    {
        builder.WebhookEvents()
            .Clear()
            .AddCms(cmsBuilder =>
            {
                // Add custom events
                cmsBuilder
                    .AddContent();
            });
    }
}

This will show Content Moved:

1 Like

Thank you @sebastiaan I did read that in the docs, but since the other events were there, I assumed that it was already done out of the box.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.