Vulnerability in EPiServer.Forms
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
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)
Perfect Johan - of course, the language parameter doesnt actually need to be specified because a Version is language specific anyways!