How can i hide a custom table(custom app) from admin ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2020 01:39 AM
I am trying to hide a custom table from admin. so that table is not shown in the application navigator while searching for it.
I created an ACL read for table and with unchecked admin override and a small script. I even did the same with write, create and delete ACLS(in case they are giving read access by default) but still table is not hidden from admin. any solution please?a small script

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2020 02:02 AM
Hi Krishna,
there is no need to write ACL you just go application navigator for eg. i am having dateTables
Click on Pencil symbol there below window get populated then give roles those you want to show this table
Hope this will help you!!
If my response helps you then kindly mark my answer helpful 👍and correct ✔otherwise if any query 🤔 feel free to ask further.
Regards,
Ajim.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2020 02:18 AM
thanks for the answer but please read my question carefully. I am trying to hide from Admin.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2020 02:26 AM
Hi Krishna,
yes, as far as i get know that admin having super role so use script once shown below
business rule
before
query
if(gs.getUser().isMemberOf('Group_name') && gs.getUser().hasRole('admin'))
{
var car= current.addQuery('title','!=','Self-Service');
}
make sure you have cleared browser cache before running this script

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2020 02:38 AM
make some modification as per your requirement as i have just copied and pasted from my personal instance which was as per my requirement