The CreatorCon Call for Content is officially open! Get started here.

How to show the Column header for a reference variable on Service Portal

Karthick PS
Tera Contributor

Hi,

Please help.

How to show up the column header of a table in a reference variable on Service portal?

Example. I have a reference variable thats referring sys_user table.

When user filling the form on serviceportal, he has to see the column headers like Name, Title, Department

 

1 ACCEPTED SOLUTION

@Karthick PS 

it seems you marked other response as correct for your earlier question

Need Javascript to check if a string does not start with

Also requesting you to check this question and mark my response as correct as I have already provided solution to that

Disable the "Add to cart" in the service catalog items on the Instance.

Also check this older question of yours and mark appropriate response as correct

Excluding items from the in-progress Update Set

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

18 REPLIES 18

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

add the variable attributes in that variable

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=name;title,department,ref_ac_columns_search=true,ref_ac_order_by=name

find_real_file.png

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Thanks. 

Gave the above variable attributes. But, still not seeing the Column Header like Name, Title on Service Portal.

Any guidance??

Hi,

it should be showing.

which field values it is not showing title or department.

the user you are using should have read access to the department table then only it would show

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Karthick PS
Tera Contributor

@Ankur Bawiskar - Any help on this is highly appreciated