Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
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)
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:
/EPiServer/CMS/?language=cy#context=epi.cms.contentdata:///2796_23678
Which is broken down by:
/EPiServer/CMS/?language={language}#context=epi.cms.contentdata:///{pageReference.ID}_{version}
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
Al