World is now on Opti ID! Learn more
AI OnAI Off
World is now on Opti ID! Learn more
You could use static method PageEditing.GetEditUrl (or method GetEditUrlForLanguage if you want it to be loaded for a specific language branch)
I generated the link to the url
urlResolver.GetUrl(contentRefernce,
EPiServer.Globalization.ContentLanguage.PreferredCulture.Name,
new EPiServer.Web.Routing.VirtualPathArguments()
{ContextMode = EPiServer.Web.ContextMode.Edit})
But when I open page in edit view, the admin panel and navigation pane are not loaded.
How to generate link to the page in edit mode to get all edit mode UI?