Take the community feedback survey now.
AI OnAI Off
Take the community feedback survey now.
Hi,
Try this:
var inUseRepository = ServiceLocator.Current.GetInstance<EPiServer.Shell.Notification.IInUseNotificationRepository>();
inUseRepository.AddInUseNotification(new InUseNotification
{
AddedManually = true,
ContentGuid = myPage.ContentGuid,
CreateTime = DateTime.Now,
LanguageBranch = myPage.LanguageBranch,
Modified = DateTime.Now,
User = "Hulken"
});
Hi!
Does anyone know if it is possible to perform "Permanently Mark as Being Edited" on a page/block from code?
In edit mode this function is located in the Tools menu but I don't know how to activate this from code.
Regards
Erik