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

Hi,

I didn't get what is not showing.

If you add that variable attributes then it should show

data for which field is not showing up title or department

Did you check title and department is not empty for the users

Unless you share your configuration and outcome image I won't be able to help

Regards
Ankur

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

for title, department, email do this

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

 

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

@Ankur Bawiskar ,

title;department;email - Column values are displaying.. No issues in that.

I need something like this...  Green-highlighted column header to be displayed at the top of the drop-down on the portal level..

find_real_file.png

As I said, unable to share as some client restrictions are in place.

@Karthick PS 

you can show data from different columns in reference variable using that attribute.

but not the header as you required.

Regards
Ankur

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

@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