Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more 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

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