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.
Mobile: Client scripts not applicable for ng_view in mobile. - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • Mobile: Client scripts not applicable for ng_view in mobile.
KB0551114

Mobile: Client scripts not applicable for ng_view in mobile.


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

Description

Client scripts and UI policies are not applied to the ng_view in mobile. This is visible when accessing a record by clicking into a reference field, for example, the Change Request field on Approval records. See the steps to reproduce for a more detailed example.

Steps to Reproduce

  1. Log in to a demo instance.
  2. Write a simple client script to hide a field on a change_request table, for example, and apply this on "mobile" by selecting device Type both or mobile:

function onLoad() {
//Type appropriate comment here, and begin script below
g_form.setDisplay("risk",false); //change the field to any field that you want to hide on mobile
}

  1. Open any [change_request] record and notice how the field is hidden.
  2. Go to my approvals and remove filter to show all approval records.
  3. Open an approval record for change request.
  4. In the Approval for field, click the icon to the right to open the ng_view of the change request.
  5. Notice the field is not hidden in this view.

Workaround

This issue is under investigation by our development team. Updates will be provided as they become available.

Subscribe to this known error article (click the Subscribe button at the top of the article) to receive notifications when more information is available about this issue.

 

 


Related Problem: PRB635476

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.