Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to change the ess user view to default view

Hari1
Mega Sage

Hi,

I have created a new form by taking the fields of incident form.

When the end user- "user with no roles" login he is not able to see all the fields, But when a user with itil role login he is able to see all the fields.

I need the ess user to see all the fields as that of itil user without providing the role itil to the ess user.

I trying doing the below changes, it's working for itil user but not for ess users.

find_real_file.pngCan anyone please help me out on this?

14 REPLIES 14

Hi Hemanth,

any field level read acls on those fields blocking that?

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,

I added the ACL to read and write for the field and could see the fields when the ess user login. But i need the view that is created "contract_request" view to come up on the form instead of ess view. Below is the View Rule that i have added. 

find_real_file.png

Hi Hemanth,

so if user doesn't have any role then you want view to be shown as "contract_request"

if(!gs.getUser().hasRoles()){

answer = 'contract_request';

}

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,

It doesn't seems to be working. I still see the end user view. But when i click the module to create a ticket i am able to see the contract_request view in the URL.

REF::
find_real_file.png

Hi Hemanth,

from where your end user is visiting the table; since you said when they visit from module the view is correctly getting applied

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader