Allow users to change a form view

Azanias1
Giga Contributor

Hello community,

I was wondering if there is some mechanism to allow certain users to change the view of form for a particular table, example: Allow change managers to switch between "ESS view" and "Approval view" on change form, but change managers can't change incident form views.

I know there is a "view_manager" or "view_changer" role but this one opens up every view on every form which is not desired.

Thanks in advance.

4 REPLIES 4

Midhun1
Giga Guru

Hi,



Just configure view rules .


Restrict Form Views by Role - ServiceNow Wiki


Azanias1
Giga Contributor

Thanks for the answer, but this limit the user to one view what I need is to have one user (let's say itil) to be able to change between two views at any time, is that possible?


Midhun1
Giga Guru

Hi,



Yes it is possible.


Andras Kisgyorg
Kilo Guru

HI Juan,



Based on your requirement, that an ESS and Approver view should only be accessible by the change manager, I would consider creating a dedicated ESS view as well as an approver view of the change_request table (from the change request form: configure form layout -> View name: New..).



Then, you can manage the settings of these new views from System UI -> Views and add e.g. change_manager role, so only them can select from the view picker.



With this, the standard ess view will be unaffected (can be accessible to itil only for example), which may reduce the complexity of the solution.



Please let me know if this helps.


Best regards,


Andras