Attach a Knowledge article to a record using the Knowledge Icon doesnt work?

Ken24
Giga Expert

Hi all, in the documentation under dictionary attributes  knowledge_search   "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"   There is a UI Action button Attach to "table name"   (Contact Log in the image below)  

How does the "attach" work?   It looks like it only pastes the KB number and description to the Comments.   Is that it.   I cant find a UI Page that generates the popup to dig into this.

Any direction would be great. 

Thanks, Ken 

 

2 REPLIES 2

Erik Stolberg
Tera Guru

https://docs.servicenow.com/bundle/madrid-platform-administration/page/administer/contextual-search/...

  • When you click Attach, a note about the KB article is copied or appended to the Additional comments field. Update or save the form or use Post to add the note into the Activity Stream.
  • You can specify which field the KB article is copied to:
    • Override the central setting per table configuration:
      • Configure the Attach action in the Table Configuration > table > Search Action Configuration.
      • Bring up each attach action in the form view.
      • Select Use custom field for attach note.
      • Specify the name of the Attach note field (for example: work_notes)
        • Leave the Attach note field empty if you do not want to add a note to any of the fields.
        • If the specified field is not found on the form then a note is not added to any of the fields.

Beyond that info and the config options available, you would have to dig through the knowledge script includes, which I would NOT recommend modifying or overriding.

In addition to the KB number field and the Comment field, the process also inserts a record into the m2m_kb_task table which is a many-to-many table linking KB articles and tasks.

Hi Erik, this is truly helpful. We are on London and the mechanism is a bit different  [ https://docs.servicenow.com/bundle/london-platform-administration/page/product/incident-management/t... ].  But net result is same. 

My desire is to paste/"attach" the KB article content/text, not just the KB# number and short_description

London KB property text: When attaching an article to an incident, problem, or catalog task, copy the article content into the following field. You can specify a separate field for each table you want to attach articles to as a comma-separated list. Use dot walking to copy the article content into related records. If a specified field does not exist, that field is ignored.

Are they using the word "content" liberally or am I missing something?

I see "Attachment type" in the Search Action Config, but it has no effect.  Only number and short_description are pasted.

find_real_file.png

thoughts?

 

Ken