How to change view based on role of user?

Community Alums
Not applicable

Suppose there are two roles, roleA and roleB. There are few users present in each of the role.

When user of roleA visits incident form, he should be able to see viewA and similarly when user of roleB visits incident form, he should be able to see viewB.

Please help me to know, how can I achieve above scenario?

 

7 REPLIES 7

Community Alums
Not applicable

Hi Priyanka,

No it didn't work, still it is showing ess view for the user.

 

Regards,

Sindhu.

Priyanka136
Mega Guru

Hi sindhu21,

Okay, for that you have to delete the incident module from "Self Service View".

Navigate - System UI - View- Self Service - Form Sections - incident - delete

Please mark it correct or helpful, if it works based on impact....!!!

Warm Regards,

Priyanka

 find_real_file.png

www.dxsherpa.com

Community Alums
Not applicable

I have set the property 'glide.ui.remember_view' to false, then code started working as expected.