How to prevent attachments from displaying in search results?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2015 05:44 PM
Hi,
I need a way to prevent a knowledge article's attachments from displaying in the search results. Example:
With the article's 3 attachments, the search results screen is way enlarged and a bit ugly.
I've messed around with each of the kb_knowledge table's dictionary attributes: entry:email_client=true,text_index_filter_junk=false,attachment_index=true,synch_attachments=false,text_index_attachment_displayed=false
But none of them seem to be the trigger for this.
Any ideas?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2015 09:57 PM
Open the global text property
Once you open the property you can see "List of tables (comma-separated) that will not appear as options when setting up Global Text Search tables." field
in that enter sys_attachment after that you wont get any attachment in global search
Regards,
Harish.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2015 05:16 AM
Ya, that works for the Global Text Search, but I am looking to affect the knowledge search which is what my self-service users will primarily be using. Any ideas on that one? (I did update that property, but it did not affect the knowledge search results.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2015 05:48 AM
I believe the only way it to modify the out of the box kb_search_results UI Macro and remove the code that queries for attachments.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2015 05:50 AM
Ha, yep I was worried it would come to that. I'll have to dive into that macro.