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.
Field decorators do not appear on read-only reference fields - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • Field decorators do not appear on read-only reference fields
KB0564062

Field decorators do not appear on read-only reference fields


3082 Views Last updated : Apr 7, 2024 public Copy Permalink
KB Summary by Now Assist

Description

When setting a form field to read-only, the field decorators are not shown. Then, if setting glide.ui.reference.readonly.clickthrough to true, only the popup icon appears, not the others.

For general information, see Reference field icon.


Steps to Reproduce

  1. Go to a demo instance.
  2. Open an incident.
  3. Choose a cmdb value in the Configuration Item.
  4. Click Save.
  5. Copy your incident number.
  6. import the attached xml (a client script that sets cmdb_ci to read-only) to the incident table:
    • Navigate to the incident.list
    • Right-click the banner
    • Select Import XML
  7. Paste your incident number into the global search.
    The field is now read-only, but the tree picker, bsm map, ref icon, etc do not appear. Only the popup icon appears.

Workaround

This behavior is by design. The tree picker or bsm map icons do not display for read-only reference field.

To make these reference icons reappear on forms, import the attached XML file UI Macro 'element_reference_read_only'.


Related Problem: PRB583324

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?

Attachments

Attachments

  • inc_cmdb_ci_readonly.png
  • sys_script_client_96e1778bf1d48100eb797734b90a3935.xml
  • sys_ui_macro_b9fcff30dc4121006d9ed3cc293dc668.xml

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.