- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-12-2022 11:56 PM
I am a novice developer.
Please help me with the following question.
I would like to display fields other than numbers when I browse the Knowledge Table from a catalog item in the Service Portal.
ref_ac_columns=number;short_description,ref_auto_completer=AJAXTableCompleter,ref_ac_columns_search=true
If I put the following script in the variable, I could add fields other than number.
However, it is time-consuming to set that script in each catalog item, so I would like to set it in the table dictionary.
I set the same script as above in the dictionary, but only numbers were displayed. I would like to know how to set up the dictionary of the table to display fields other than number.
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2022 12:46 AM
Hi,
if you set it in dictionary then it will only work for reference fields which are on table which refers to knowledge table
It won't work for Reference/list collector variables on catalog item
Variable and fields are different in nature.
So you need to do it for every reference variable which refers knowledge table and add that in variable attributes.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2022 12:46 AM - edited ‎10-13-2022 12:51 AM
Hi Takuto,
I hope below steps will help you to solve the above issue.
1) Go to your catalog form field & open it.
2) Go to Type Specifications & under variable attributes provide the list of fields you want to see in catalog form.
Because fields on table & catalog variables are different, so you need to provide fields individually in catalog form variables under variable attributes.
If it answers your question, please mark it as helpful/correct.
Thanks & Regards,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2022 01:43 AM
Hi Gopi,
Thank you for your instruction.
I see that the only way is to set each variable individually.
I will implement it the way you taught me.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2022 12:46 AM
Hi,
if you set it in dictionary then it will only work for reference fields which are on table which refers to knowledge table
It won't work for Reference/list collector variables on catalog item
Variable and fields are different in nature.
So you need to do it for every reference variable which refers knowledge table and add that in variable attributes.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2022 01:51 AM
Hi Ankur,
Thank you for your instruction.
I understand that the setting in the dictionary will not work.
I will describe the setting in each variable attribute.
Thank you.