Knowledge Search Dictionary Attribute

jerome_lambercy
Mega Contributor

Hi,
I'm trying to customize one of my field in incident form to show up related knowledge base article.
I'm using knowledge_search=true within the attributes but nothing shows up next to the field (and yes I added after a comma in case of multiple attributes).
I already searh within the http://wiki.service-now.com/index.php?title=Dictionary_Attributes.

Is there any limitation I should know about ?
My 2 cents would be that it's because I'm using this on a reference type of field and that it should be rather string.

Any clues ? Thx in advance for any information I may use

2 REPLIES 2

jerome_lambercy
Mega Contributor

Made a few more tests, using this decoration on field of type 'string' it's working perfectly.
On field of type 'reference' it's not working, it seems there here a conflict between out of the box lookup, related form decoration. Does anyone went through the same issue ?


The attribute only works on string fields: 

 

Value: true/false
| string fields
| If present or true, causes a knowledge search icon (a small book) to appear next to the field. Clicking this icon launches a pop-up window for searching the knowledge base, unless a custom knowledge search function has been specified (see below) 

 

knowledge_custom #

Value: name of JavaScript function
| any field
| Specifies a JavaScript function to implement a custom knowledge search (see knowledge_search).
|

***If Correct/Helpful please take time mark as Correct/Helpful. It is much appreciated.***

Regards

Paul