Question
Lloyds Banking Group PLC
GB
Last activity: 20 Feb 2017 9:28 EST
Propagate parent attachment links to child
I have a requirement that every attachment that the parent case has should be propagated to the child objects when they are created. I tried using data propagation of pyAttchment property but it didnt work. I believe I need to create new link objects in the child case and link to point to the same atatchment that the parent it pointing to. Can someone kindly guide how to achieve this?
***Updated by Moderator: Lochan. Removed user added helpme tag. Apologies for confusion, shouldn't have been an end-user option; updated Categories***
Within the Work- pyCaseAttachments Section there is a conditionally-viewed layout that displays the list of Link-Attachments defined by the Work- .pyAttachments Property.
The Work- .pyAttachments Property references the D_AttachmentList List Data page where .pzInsKey is passed as the value for the Data Page's required "LinkedRefFrom" parameter.
You can Save-As .pyAttachments to ".pyCoverAttachments" specifying .pxCoverInsKey as the value for the D_AttachmentList Data Page's required "LinkedRefFrom" parameter.
Finallly you can Save-As the pyCaseAttachmentsWrapper Section to your own ruleset before adding a layout that displays ".pyCoverAttachments".
There is no need to propagate parent Link-Attachments to subcases, you just need to query them.