To get the edit url of a page you can use
PageEditing is part of the EPiServer.Editor namespace
ok thanks, I mean in the UI tree. Do you mean i should build a addon to the tree context menu?
Thats right Mari
Either default or choosable for the user in the context menu.
You can do this using an Ui Descriptor, see code here:
CMS 7 and 8, is there a way of opening pages in edit mode? Like you had in CMS 6?