is it possible to include knowledge short description as a reference variable in Catalog item form?

MohammedYaseen
Tera Expert

hi All,

 

I have a requirement where the users will try submitting changes for knowledge articles using catalog form

I have a variable for the user to select the article name.

But i am unable to reference using article short description as its not reference field.

I can only give Knowledge article number. But user will not be remembering knowledge article number

Is there any way for user to type the article short description and it brings the details about article in catalog form?

 

Thanks,

Yaseen

2 ACCEPTED SOLUTIONS

Robbie
Kilo Patron
Kilo Patron

Hi @MohammedYaseen,

 

There sure is. Whilst only a single field can be used as the default display value across the platform, you can easily configure the field, in your case the catalog field, to also display the short description which can also be searched upon. When a user starts typing, all articles either starting with the word typed will display. You can even leverage the 'contains' query using the * operator.

 

See the screen shots below, but essentially add the following syntax to your Knowledge field 'Variable attributes' under 'Type specification tab' (See below) which is referencing the kb_knowledge table. This is easily achieved.

 

Syntax: ref_auto_completer=AJAXTableCompleter,ref_ac_columns=number;short_description,ref_ac_order_by=number,ref_ac_columns_search=true

 

Where to find the 'Variable attribute' field' (Right click on your Knowledge field to configure variable):

Screenshot 2025-01-30 at 13.14.46.png

 

Look and feel:

Screenshot 2025-01-30 at 13.14.36.png

 

To help others (and for me to gain recognition for my efforts), please mark this response correct by clicking on Accept as Solution and/or Kudos.




Thanks, Robbie

View solution in original post

Ankur Bawiskar
Tera Patron
Tera Patron

@MohammedYaseen 

you can use the approach shared by @Robbie where user can search with different columns and they need not remember the article number

 

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

View solution in original post

6 REPLIES 6

Mark Manders
Mega Patron

No, you can't. A table can have only one display value and that's the number for articles. Changing that, will change it globally and everywhere where you now see the number referenced, it will show the title.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Robbie
Kilo Patron
Kilo Patron

Hi @MohammedYaseen,

 

There sure is. Whilst only a single field can be used as the default display value across the platform, you can easily configure the field, in your case the catalog field, to also display the short description which can also be searched upon. When a user starts typing, all articles either starting with the word typed will display. You can even leverage the 'contains' query using the * operator.

 

See the screen shots below, but essentially add the following syntax to your Knowledge field 'Variable attributes' under 'Type specification tab' (See below) which is referencing the kb_knowledge table. This is easily achieved.

 

Syntax: ref_auto_completer=AJAXTableCompleter,ref_ac_columns=number;short_description,ref_ac_order_by=number,ref_ac_columns_search=true

 

Where to find the 'Variable attribute' field' (Right click on your Knowledge field to configure variable):

Screenshot 2025-01-30 at 13.14.46.png

 

Look and feel:

Screenshot 2025-01-30 at 13.14.36.png

 

To help others (and for me to gain recognition for my efforts), please mark this response correct by clicking on Accept as Solution and/or Kudos.




Thanks, Robbie

Thanks Robbie it worked.!!

Appreciate your quick help

My pleasure. I'm happy to help.

Happy Thursday ; )