sp-attachment-manager not showing attachments
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2020 08:37 PM
Hello Experts,
I have created a widget and included below code into that widget
<div>
<!-- your widget template -->
<sp-attachment-manager table="'kb_knowledge'" sys-id="xxx" omit-edit="true"></sp-attachment-manager>
</div>
added angular provider "spAttachmentManager" to this widget
still attachments are not visible on the page.
can anyone help with this, please
Thanks & Regards,
Rajendra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2020 11:52 AM
Did you mark the sys-id intentionally ? I am thinking sys-id is not set right.
Refer to this code.
<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>
https://hi.service-now.com/kb_view.do?sysparm_article=KB0752450
Please mark reply as Helpful/Correct, if applicable. Thanks!