ESC Portal - Attachments on KB Articles not showing in the Knowledge Attachments widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2025 05:07 AM
Hi All,
When viewing a KB Article (which has attachments) in ESC Portal, the OOB "kb_article" page has "Knowledge Attachments" widget.
While checking the widget, in the Link section, found the below code:
var options = {
scope: scope,
keyboard: true,
templateUrl: 'kmImageModal',
windowClass: 'image-modal-dialog'
};
c.openAttachmentsList = function(attachments){
var options = {
size:"md",
scope: scope,
keyboard: true,
templateUrl: 'kmAttachmentsWidgetList',
windowClass: c.isMobile ? 'attachments-list-modal-dialog' : 'attachments-list-modal-dialog kb-desktop'
};
c.attachmentsList = attachments;
c.openModal(options);
}
Usually the templateUrl that are mentioned in the widget, can be found in the Related Lists "Angular ng-templates". But the above two "kmImageModal" and "kmAttachmentsWidgetList" are not even there in the instance.
Checked in my PDI, which is Yokohoma Patch 5, they are not there as well.
Don't want to customize when the feature should be there OOB.
Regards,
Nitish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago - last edited a month ago
Hi @nitish99
1) When viewing a KB Article (which has attachments) in ESC Portal, the OOB "kb_article" page has "Knowledge Attachments " widget. - even when you click kb_article page is mapping to different page(as shown in screenshot) due to page routing map, article is rendering in kb_article_view page which is also OOTB.
2) did you check display attachments field is true in article form. article/knowledge attachments will display when this field is true.
If you found my answer helpful, please like and mark it as an "accepted solution". It helps future readers to locate the solution easily and supports the community.
Regards,
Krishnamohan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hi Krishnamohan,
Thanks for your reply. I already fixed the issue by writing a script to update the "Display attachments" flag.
Regards,
NITIS