Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.

 

How to generate link to content in edit mode to get all edit mode functionality?

Vote:
 

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?

#89223
Aug 11, 2014 18:17
Vote:
 

You could use static method PageEditing.GetEditUrl (or method GetEditUrlForLanguage if you want it to be loaded for a specific language branch)

#89240
Aug 12, 2014 7:23
Vote:
 

Thank you!

#89244
Aug 12, 2014 8:05
Vote:
 

This works however it creates "inception" (page in page)

#140972
Nov 05, 2015 12:46
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.