Open in Edit Mode from tree

Member since: 2007

CMS 7 and 8, is there a way of opening pages in edit mode? Like you had in CMS 6?

Any Addon?

#131999 Aug 12, 2015 8:22
  • Member since: 2003

    To get the edit url of a page you can use 

    PageEditing.GetEditUrl(currentPage.ContentLink)

    PageEditing is part of the EPiServer.Editor namespace

    #132016 Aug 12, 2015 11:55
  • Member since: 2007

    ok thanks, I mean in the UI tree. Do you mean i should build a addon to the tree context menu?

    #132018 Aug 12, 2015 12:45
  • Member since: 2003

    Do you mean that "forms edit" is default instead of on page edit?

    #132028 Aug 12, 2015 14:30
  • Member since: 2007

    Thats right Mari

    Either default or choosable for the user in the context menu.

    #132029 Aug 12, 2015 14:35
  • Member since: 2003

    You can do this using an Ui Descriptor, see code here: 

    http://world.episerver.com/forum/developer-forum/EPiServer-7-CMS/Thread-Container/2013/2/Set-Form-mode-as-default-editing-interface/

    #132031 Aug 12, 2015 14:54