Why is the Display value of some fields set to false, but this field is displayed in the table that references him?

Peter64
Tera Contributor

Like the display of the context field in the wf_history table

1 ACCEPTED SOLUTION

A reference field must have a display value and as the docs indicate if no field is set to display = true, the platform checks for other values.

Reference fields look for the display value in the following order:

  1. A field with display=true in the system dictionary on the lowest sub-table for extended tables.
  2. A field with display=true in the system dictionary on the parent table.
  3. A field named name or u_name.
  4. The Created on field of the referenced record.

 

View solution in original post

5 REPLIES 5

Tony Chatfield1
Kilo Patron

Hi, how the default display value of a reference field is set can be found here.

https://docs.servicenow.com/bundle/rome-platform-administration/page/administer/field-administration/task/t_SelectTheDisplayValue.html?cshalt=yes

In your example, the context field of wf_history shows the 'name' of the record from referenced wf_context table.

 

But the wf_context table does not set any field Display value to true.

A reference field must have a display value and as the docs indicate if no field is set to display = true, the platform checks for other values.

Reference fields look for the display value in the following order:

  1. A field with display=true in the system dictionary on the lowest sub-table for extended tables.
  2. A field with display=true in the system dictionary on the parent table.
  3. A field named name or u_name.
  4. The Created on field of the referenced record.

 

Thanks for your answer!