The CreatorCon Call for Content is officially open! Get started here.

Show attachment of parent case on portal

Rosy14
Tera Guru

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

vignesh parthib
Tera Guru

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."

The requirement is to bring all attachment of parent case to child task.