I'm dealing with a situation where I would like to enter sites list item already in edit mode. Normally, when I would like to edit this page I would look to the ribbon and click the Edit link there, which would change the display mode to edit. I've learned about a way to do it programmatically reusing ribbon actions (PageStateCommands) like
The SP.Ribbon.PageState however is unavailable if the item is checked in.
Is it possible to use it anyway by loading the SP.Ribbon somehow? The workaround I have right now is that I checkout the page when I know the user wants to get there. The user gets to the details page and is then reloaded with the edit view. The most optimal approach would be to send him/her straight to the edit mode.
Please let me know if I've made anything unclear and thanks for all possible ideas. Kind regards.