Hiding a global template from a specific group

Kirby2
Giga Contributor

Hi,

Is there any way to hide a global template from a selected group? Please see below screenshot. Thanks.

find_real_file.png

5 REPLIES 5

Ct111
Giga Sage

Hi ,

Inorder to hide template you need to set this property glide.ui.show_template_bar.<table_name> to false in sys_properties.LIST table.

 

 

Now if you want to hide it for specific group then create one script in which you will checking the group if it is that group 

then set the system property for glide.ui.show_template_bar.<table_name> to false.

 

Mark my ANSWER as CORRECT and hELPFUL if it helped.

 

Incase of trouble regarding system property not working chk the below link

https://hi.service-now.com/kb_view.do?sysparm_article=KB0564223

Kirby2
Giga Contributor

Isnt system properties a global variable? If i created a script that will check the group and changed the sytem property then it will have a global effect. 

I wouldn't udpate system property from script based on condition.
ServiceNow does server side cache flush on value update of any system property, this may impact the performance.

JoeLopez
Giga Contributor

I came here with a similar question.

Rather attempting to hide a template from a set of users, can you have an automatic, global template applied to a specific set of users?

I would like to create a global template for Change records in our instance to be applied automatically when a Normal change is created.

Will I be able to only have this global template applied automatically for a pre-defined set of user groups or Assignment Groups?

 

Thank you.