Open document in Form tab by default.

Alexander Toups asked on February 13, 2015 15:49

Is there a way of opening a document in the form tab instead of the page tab? The site is runs on v8.0.17

Recent Answers


Brenden Kehren answered on February 14, 2015 17:57

By default no.

0 votesVote for this answer Mark as a Correct answer

Olivier Cozette answered on February 15, 2015 21:54

Maybe if you create a role, only with the form permission assigned to it and then assign this role to the user? But I'm not sure if the page tab is mandatory for all roles too..

0 votesVote for this answer Mark as a Correct answer

Martin Danko answered on February 19, 2015 01:37

Hello Alexander,

I can provide you with the solution but could you please tell me what version of Kentico are you running?

The Administration UI is different in Kentico 8.x and older versions... and the design how it works is also different.

Best Regards, Martin

0 votesVote for this answer Mark as a Correct answer

Alexander Toups answered on February 19, 2015 12:49

Hi Martin, the site is running on v8.0.17

Thanks. Alex.

0 votesVote for this answer Mark as a Correct answer

Martin Danko answered on February 23, 2015 02:43 (last edited on February 23, 2015 02:43)

Hi Alex,

it is possible by some modification of the UI files. you can find the file that is rendering the tabs as described here: How to find the location of the code for a page used in the user interface. Then, you need to change the tabs array and set the FORM tab to be the first in the list.

Solution: In the CMSModules\Content\CMSDesk\Edit\EditTabs.aspx.cs file in the SelectTab method please change the default case to display form tab like this:

tabsModes.SelectedTab = formTabIndex;

This change will have affect on future upgrades and hotfixes as you are modifying the system file so it could be overwritten back to defaults, be aware of this fact please.

Regards, Martin

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.