We have a DDP that is automatically triggered and the generated PDF sends to our SFTP and includes Files from the parent object. The issue is protected documents often cause the DDP to fail. I would like to filter out the protected Files (they all have Locked_ added to the beginning of the File Name). I am trying to use a Salesforce Object relationship, but the DDP fails when I manually run it. What can I do differently?
Solved
Include subset of Files defined using Salesforce Object
Best answer by Brent_Doc
Attachments can not be selected via a relationship in the Package.
Attachments are a separate parameter or manual selection.
There are a few options depending on your usecase and type of implementation.
Take a look at this article and it should lead you down the right path:
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
