Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
using the UrlResolver, you could set the context mode to "edit":
UrlResolver.Current.GetUrl(contentReference, language, new VirtualPathArguments() { ContextMode = ContextMode.Edit });
There's also
PageEditing.GetEditUrl(contentLink);
or
PageEditing.GetEditUrlForLanguage(contentLink, language);
How can I generate/get an url to a page in the CMS?
Like this: http://localhost:49196/episerver/cms/#viewsetting=viewlanguage:///no&context=epi.cms.contentdata:///2650
Do I have to hard code it or is there any methods to use for getting the url?