Include subset of Files defined using Salesforce Object

  • 8 February 2024
  • 2 replies


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?


Best answer by Brent_Doc 8 February 2024, 18:37

View original

2 replies

Userlevel 2
Badge +9

@sbs298  - 


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:


Userlevel 5
Badge +20

Hi @sbs298 

Did this response help solve your issue?