Unable to show class on the reference field display for incident and change.

Robert Campbell
Tera Guru

In my PDI I've added the attribute 'ref_ac_columns=name;sys_class_name' to task and incident but still it does not show the class.

RobertCampbell_0-1692742476396.png

 

1 ACCEPTED SOLUTION

That's not the proper place to add it for the Incident table.

 

1. as you've done

 

JimCoyne_0-1692801403242.png

 

 

2. then click on the Dictionary Override record for Incident

 

JimCoyne_1-1692801473271.png

 

3. and add it here

 

JimCoyne_2-1692801552247.png

 

Here's a link for more info on Dictionary Overrides.

View solution in original post

7 REPLIES 7

Jim Coyne
Kilo Patron

You must also specify "ref_auto_completer=AJAXTableCompleter" in order to show the extra fields.  The other 2 auto-completers do not show the extra fields and one of them is used by default if "AJAXTableCompleter" is not specified.

 

When you say you added it to both Task and Incident, I'm assuming you mean on the "Attributes" field for "Service" on Task as well as the Dictionary Override for Incident, correct?

 

Link to Docs article: Auto-complete for reference fields

Barrilito van D
Kilo Guru

Hi,

Can be many things here.

Check the sys class name field on the table and set "display" to true.

 

If you think my answer put you in the right direction or you appreciated my effort, please mark the response as Helpful or mark my response as Correct.
Thanks in advance! Good luck!

Do not, repeat, do not, "Check the sys class name field on the table and set "display" to true."  That would display every record as the class name instead of something uniquely identifiable.

Robert Campbell
Tera Guru

 

RobertCampbell_0-1692797566383.png

Takes me to task, not incident.

RobertCampbell_1-1692797701246.png

 

I also added it to the incident table just in case.

RobertCampbell_2-1692797844693.png

 

Getting the same result

RobertCampbell_3-1692797910227.png