- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2021 03:56 AM
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
Solved! Go to Solution.
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2021 06:53 AM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2021 05:11 AM
Hi,
example below for CI table
you need to give the ref_ac_columns attributes for that and give the additional fields
ref_auto_completer=AJAXTableCompleter,ref_ac_columns=category;serial_number,ref_ac_columns_search=true,ref_ac_order_by=name
Variable attributes sections
Output: I have added category and serial_number as extra fields to be shown along with name
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2021 05:12 AM
Please share your variable configuration and how it looks after adding that in native and portal
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2021 05:26 AM
Thanks for the instant reply.
What I need is..
In your example of CI record, I want to display the category and serial_number as column headers of that drop-down on portal.
Is that achievable?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2021 05:36 AM
that is what I shared the variable attributes to be added
it should work for sys_user table as well
please share what you configured and what is not working
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2021 05:48 AM
Columns are displaying. No issues in that.
Unable to share the configuration as some client restrictions are in place.
But, All I need is to display the Column Header like Title, Department, Email at the top of drop-down in the portal..
Even in your example of CI Record, I m not seeing those..