How to get direct link to page in edit mode

  • Updated

This article describes how to get a direct link to a page in edit mode using the Episerver API. This may be useful for developing a custom report.

When looking for a link like the example below

http://localhost:17000/Internal/UI/CMS/?language=sv#context=epi.cms.contentdata:///43687&viewsetting=viewlanguage:///sv

you can use the following code segment.

PageEditing.GetEditUrl(page.ContentLink)

For more information on this API please see here.