Last active
February 5, 2023 21:17
-
-
Save nancystodd/c29afb69ef78ad0948a807dfb01bbadf to your computer and use it in GitHub Desktop.
Make ServiceNow Glide Object Visible
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var fieldTypes = new GlideRecord('sys_glide_object'); | |
| fieldTypes.addQuery('sys_id', 'IN', ['sys_id_1', 'sys_id_2']); | |
| fieldTypes.setValue('visible', true); | |
| fieldTypes.updateMultiple(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment