- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2017 10:38 PM
Hello Everyone,
We have a requirement where i need to hide some fields from Customized table since we do not Active checkbox option i think i need to write some script to hide the fields.
Can anyone please help me out how to achieve this ?
List of field what i have is:
Network-ABA
Network-Operations
Network-Infra-Su
Network-Infra-Mu
Network-Infra-Ku
Network-Infra-Zoa
Network-Software
Network-Hardware
Network-Admin
I want to hide the fields which starts from Network-Infra:
Network-Infra-Su
Network-Infra-Mu
Network-Infra-Ku
Network-Infra-Zoa
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2017 12:55 AM
Please create Before Query Business Rule with below code, it should work.
(function executeRule(current, previous /*null when async*/) {
// Add your code here
current.addQuery("<FIELD NAME WHICH HOLD THE VALUE>",'NOT LIKE' ,'%Network-Infra%');
})(current, previous);

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2017 10:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2017 11:05 PM
Sorry Shishir,
I explained it wrong these are the list of records in Customized table and i want to hide more than 20 recrods

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2017 11:07 PM
UI Policy will be the best practice to hide the fields.
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2017 11:54 PM
Harish,
But my actual requirement is to hide some records for all the users

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2017 11:11 PM
in that case you can do through query BR. Please check if below post helps.
How to hide some records in the list in sc_cat_item table for some users