List view help

huyjor
Tera Contributor

Hello Team

 

I have a custom table where i have different list view.

huyjor_0-1710515245793.png

But when i try to impersonate someone who has student role, or instructor role. It always goes to default view. How do i change to if i impersonate a student of instructor, it should go to one of these view. Thanks for your help. 

 

1 ACCEPTED SOLUTION

Sumanth16
Kilo Patron

Hi @huyjor ,

 

Create View Rules like below:

You have to be sure that for all users one view rule is applicable, and only one.

Dont use null, mention the view you send users who are not itil.

Here is an example you can refer to.

Sumanth16_0-1710526800009.png

 

If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!

 

Thanks & Regards,

Sumanth Meda

View solution in original post

13 REPLIES 13

AshishKM
Kilo Patron
Kilo Patron

Hi @huyjor

Review some existing the view and view rule and apply the view rule for student role.

 

AshishKMishra_0-1710515860934.png

 

 

 

-Thanks,

AshishKM

 


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

yad_achyut
Giga Guru

Hi @huyjor : 

Please make use of OOB functionality of View Rules under System UI. and make use of script to get your desired results.
Screenshot 2024-03-15 at 8.49.14 PM.png

Sumanth16
Kilo Patron

Hi @huyjor ,

 

Create View Rules like below:

You have to be sure that for all users one view rule is applicable, and only one.

Dont use null, mention the view you send users who are not itil.

Here is an example you can refer to.

Sumanth16_0-1710526800009.png

 

If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!

 

Thanks & Regards,

Sumanth Meda

huyjor
Tera Contributor

Using that script, it works for me now. Thanks your help.