ProNotion
(Simon Dingley)
March 25, 2025, 8:25am
1
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?
sebastiaan
(Sebastiaan Janssen ⚓)
March 25, 2025, 8:39am
2
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
ProNotion
(Simon Dingley)
March 25, 2025, 10:29am
3
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.
system
(system)
Closed
March 30, 2025, 10:29am
4
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.