365 views

Description

Duration field does not display Days or Hours label (or hover popup labels) when field is read only.

Steps to Reproduce

 

  1. Navigate to Service Catalog > Catalog Definition > Maintain Items.
  2. Open an existing record from the list.
  3. Right-click the form header and select Configure > Form Layout.
  4. Add the Delivery Time field to the top section of the form.
  5. Click Save.
  6. Make a note of the Delivery Time field.



  7. Create a UI Policy on the form to make the Delivery Time field read-only.
  8. Go back to the form and make a note of the Delivery Time field.



    Note that the Days and Hours label is no longer displayed.

Workaround

After carefully considering the severity and frequency of the issue, and risk of attempting a fix, it has been decided to not address this issue in any current or future releases. We do not make this decision lightly, and we apologize for any inconvenience. If you have any questions regarding this problem please contact ServiceNow Technical Support.

You can work around the behavior by making it read-only using one of these two methods:

  • Use a Data Policy and clear the Use as UI Policy on Client option so that the read-only behavior is evaluated on server-side (should you want to preserve the layout on the UI).
  • Use an ACL to make the field read-only on the server and client. In the UI, duration fields will be rendered differently, for example:


Related Problem: PRB641547

Seen In

Eureka Patch 13
Fuji Patch 11
Fuji Patch 6

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2016-06-03 13:27:23
Published:2016-02-22