Seeing empty rows on list layout for Admin

athavichith
Kilo Sage

Hi Community,

 

I have a custom app. I want to limit the visibility of the custom app for 'admin'. Since I am an admin, this is what I am seeing:

 

athavichith_0-1743692319840.png

 

For my ACL, I have advanced condition configured with Admin override false:

athavichith_1-1743692422954.png

 

var answer = false;
if(!gs.hasRole('admin') || current.watch_list.indexOf(gs.getUserID())> -1){
answer = true;
}
 
I just want to see the rows that has me listed as the Caller and not see the empty rows. 




1 REPLY 1

Shivalika
Mega Sage

Hello @athavichith 

 

Your requirement is not very clear, but if you just want to remove these empty rows, then you can choose one particular attribute which is mandatory and add data condition like "Mandatory field" is not Empty. 

 

It will filter out all the empty records. 

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket. 

 

Regards,

 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY