Try our conversational search powered by Generative AI!

Rendering internal Edit mode url


Hi all,

I have an InitializationModule that fires out an email when a page is Published. In the email I need to render the Url to Edit mode for that specific page, page version and language. The Url looks like:


Which is broken down by:


So, I could easily enough render this string, however I'm thinking that there must be an EPiServer helper already? Any ideas?

Thanks in advance


Dec 13, 2013 9:44

You could use static method EPiServer.Editor.PageEditing.GetEditUrl that takes an ContentReference as parameter (in CMS 7.5. there is a similar method that takes language as well)

Dec 13, 2013 11:59

Perfect Johan - of course, the language parameter doesnt actually need to be specified because a Version is language specific anyways!



Dec 13, 2013 18:09
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.