Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Cannot hide Toggle Template Bar option from the More Options menu - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • Cannot hide Toggle Template Bar option from the More Options menu
KB0564223

Cannot hide Toggle Template Bar option from the More Options menu


7775 Views Last updated : Oct 16, 2023 public Copy Permalink English (Original)
  • English (Original)
  • Japanese
KB Summary by Now Assist

Description

When the Template Bar is hidden by setting the glide.ui.show_template_bar.<table_name> property, the Toggle Template Bar option is still present and there is no way to hide the option.

Steps to Reproduce

 

  1. Navigate to sys_properties.list.
  2. Add the glide.ui.show_template_bar.incident property and set it to false.
  3. Save the record.
  4. Navigate to Incident > Open.
  5. Open any record.
  6. In the Form Header, click on the More Options menu.
    Note that the Toggle Template Bar option is still displayed.

Workaround

Create a global UI Script containing the following statement:

addLateLoadEvent(function(){$j('#template-toggle-button').parent().hide();});

The exact implementation of this can vary.

  • If you want this to be applied throughout all the forms on the Instance, you may need to add this within a setTimeout call
  • If you want this to effect specific forms, encapsulate the code within a function and call it from a client script for the respective table (for example, onLoad Client Script on Incident table)

Related Problem: PRB657128

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.