You are here: More... > Attachments

Attachments

Studio for Salesforce makes it possible to add multiple attachments to one record at the same time. You can attach documents in Create, Update, or Upsert scripts.

The size limit for an attached file is 25 MB. If more than one file is attached, the limit is 5 MB per file, with a total limit of 25 MB.

  1. In a new or existing script, click the Map tab, and then click Attach Files.

    attach files buton

    The Attachment location field and Attachment Log Column field are enabled at the bottom of the Mapper.

    Note: If the Attach Files button is grayed out, the object might not support attachments. Not all Salesforce objects support attachments.

  2. In the Attachment location row, click the button in the Value column.
  3. In the box that opens, enter unmapped columns for the start and end columns.

    For example, if you want to attach three files, enter J and L.

  4. Map the Attachment Log Column field.
  5. Click the Run tab, and then click anywhere in the Excel row or existing record that you want to attach files to.
  6. Click Attach Files.

    attach files button and pane on run tab

  7. Click Browse, select the files that you want to attach, and then click Open.

    You can select more files, but only the first three, or whatever number you specified, will be added.

  8. Click Copy to Selected Excel Row.

To close the panel, click Attach Files again.

Notes:
In Master-Detail scripts, you can attach files to both the master object and the detail object or objects.

You can attach files for both column-based and cell-based mapping.

Not all Salesforce objects support document attachment.