The CreatorCon Call for Content is officially open! Get started here.

How to change form view based upon the user

Alvis1
Tera Contributor

I want to check a users company and then use a form view (incident and change request) for the associated company.  

4 REPLIES 4

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi,



Please refer below link and adjust it as per your req.


http://wiki.servicenow.com/index.php?title=Restrict_Form_Views_by_Role#gsc.tab=0


The ServiceNow Wiki content is no longer supported. Updated information about this topic is located here: Restrict View by Role



Visit http://docs.servicenow.com for the latest product documentation


jake_mckenna
ServiceNow Employee
ServiceNow Employee

I would perhaps check out the use of view rules in the system if you want to override certain conditions.



Create a view rule


Ashutosh Munot1
Kilo Patron
Kilo Patron

Write a onload client script in which you check a company and then set view accordingly