Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Attachment on Knowledge Search Result on Portal

Akansha Gupta
Mega Sage

Hi Team,

I have a requirement where we need to include attachments while showing search result on KB Portal(using Zing search), as shown below:

AkanshaGupta_0-1750098834312.png

I already tried checking various properties and options on Knowledge article, but no luck. Could someone please help how to achieve it.

Thanks

Akansha Gupta

4 REPLIES 4

SANDEEP DUTTA
Tera Patron
Tera Patron

Hi @Akansha Gupta ,

It's not controlled by any property !!  You can enable attachment indexing for a table so text searches can return matches from the record and its file attachments.

 

search only matches content from attachments on Knowledge [kb_knowledge] records. Administrators can enable search for attachments on other tables, but doing so causes the system to re-index the selected table, its parent table, and any children of the parent table.
Warning: For large tables, such as the Task table, re-indexing can take several hours and slows down the system until complete. Re-indexing is best performed during non-peak times.

The search results page only displays attachments for search results from the Knowledge [kb_knowledge] table, even if other tables have attachment search enabled.

 

Thanks,
Sandeep Dutta

Please mark the answer correct & Helpful, if i could help you.

Hi @SANDEEP DUTTA - thanks for the reply!

I already validated these points but the issue is that attachments are displayed as links for few articles but not for all, even for same file type(eg pdf/ppt) and same settings/configuration at Article level.

 

Thanks

Akansha Gupta 

 

Hi @Akansha Gupta ,

It should be done at Table level not article level.

 

Thanks,
Sandeep Dutta

Please mark the answer correct & Helpful, if i could help you.

Hi @SANDEEP DUTTA - Based on my understanding, as the attachments are appearing for few articles, all required configuration at table level are already there. Could you please help in guiding what exact configuration i need to check.

Also, as per my analysis, this issue seems to be related to how search are working for Attachment (AND/OR operator, search text in Attachment title/boby etc). But I didn't found any documentation around that. Could you also please guide on this point.

 

Thanks

Akansha Gupta