Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
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