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.
g_form.hideRelatedList has no effect in the Mobile UI - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • g_form.hideRelatedList has no effect in the Mobile UI
KB0551091

g_form.hideRelatedList has no effect in the Mobile UI


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

Description

The g_form.hideRelatedList function has no effect in the mobile UI.

Steps to Reproduce

 

  1. In the desktop UI, open an incident in the mobile view.
  2. Select Personalize > Configure > Related Lists, and add a related list to the form if one is not already there.
  3. Create a new client script:
    • Type: onLoad
    • UI Type: Both
    • Script: g_form.hideRelatedList("REL:702782ceb2b5b1b1b007514c6daa62c2"); (You will need to change the sys_ID here to the match the related list you added.)
  4. Save and reload the incident form.
  5. Note that the related list added in step 2 no longer appears.
  6. Switch to the mobile UI. 
  7. Open the same incident from step 1.
  8. Click the Related Lists tab.
  9. Note the related list is not hidden.

 

Workaround

The reported issue is expected behavior.  The hideRelatedList method is not available in the Mobile UI.

 


Related Problem: PRB630410

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.