Hi,
I'm wanting to check if a property has been set, if not replace it a specified value. I see how to do this in the backoffice but not for the frontend.
I did read the documentation and found this method which is invoked when I need it to be, but I have no idea how I can changed an IPublishableContent type
using Umbraco.Cms.Core.Events;
using Umbraco.Cms.Core.Notifications;
namespace Umbraco9.NotificationHandlers
{
public class PublishedRequestHandler : INotificationHandler
{
public void Handle(RoutingRequestNotification notification)
{
var requestBuilder = notification.RequestBuilder;
// Do something with the IPublishedRequestBuilder here
}
}
}