Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

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

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

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

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