Show attachment of parent case on portal
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
Hi,
I want to show all the attachment of parent case on portal
Below code is not working
Script include:
var att = new GlideRecord("sys_attachment");
att.addQuery("table_sys_id", taskGR.parent);
att.query();
while (att.next()) {
data.attachment = gs.getMessage(att);
}
HTML:
Attachment: {{data.attachment}}
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Hi @Rosy14
You can refer the below link
Related Attachments not showing Parent/Child incidents attachments?
Thanks,
Vignesh
"If this solution resolves your issue, kindly mark it as correct."
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
The requirement is to bring all attachment of parent case to child task.