How do I see attachments on a Knowledge Article that is not created with the "standard" template, when I search from the main Service Portal homepage (/sp)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-20-2019 07:28 AM
We are seeing a difference in search results behavior from our Service Portal homepage (/sp) between Knowledge Articles (KAs) created with the 'standard template' and Knowledge Articles (KAs) created with the other templates (Ex. 'FAQ'). The KAs created with the 'standard' template will display an attachment on the search result page (kb_article), but the KAs created with a different template (Ex. FAQ) do not display the attachment on the same search result page (kb_article).
On both KAs, the "Display attachments" box is checked.
Our instance is Madrid.
When I view the kb_article page in the page designer, I see code in the "Body HTML template" section that references when an attachment is found:
----------------------------------------
<h4 ng-if="data.direct">
${View or download the attachments below}
</h4>
<div ng-if="::data.showAttachments || data.direct" class="b-t m-t">
<sp-attachment-manager table="'kb_knowledge'" sys-id="::data.sys_id" omit-edit="true"></sp-attachment-manager>
</div>
-----------------------------------------
I see the 'spAttachmentManager' in the list of "Widget Angular Providers", so I assume it is loaded and available.
I'm still learning the 'nuts and bolts' of how all this works together, so please forgive my ignorance, if it's 'loud and clear' as to why this is not working as we are expecting.
Thank you in advance.
Cathy
A KB Article and attachment, created with the standard template:
Results of a search from the main Service Portal homepage:
(note the attachment is visible)
-------------------------------------
A KB Article and attachment, created with the FAQ template:
Results of a search from the main Service Portal homepage:
--> No attachment displayed.
Both results are returned on "kb_article" . I don't know what the difference is.
- Labels:
-
Service Portal Development
- 3,574 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-09-2020 07:58 PM
Was there an answer to this question , i have the same issue in New York .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2020 08:09 AM
My question is:
How do I see attachments on a Knowledge Article that is not created with the "standard" template, when I search from the main Service Portal homepage (/sp)?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2020 08:40 AM
This worked for my instance:
Set the value of the glide.knowman.search.attachment system property to LINK_SNIPPET. You may need to create the system property if it doesn't already exist in your instance.