Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

Try to avoid setting this limit excessively high, as it may create problems with Salesforce limits. For greater file storage capability a third party file service may be a better option. Hook into form submission responses with event handlers to relate external items to visitors.

Salesforce limits allow a maximum of 6 million characters per string. As Due to the way files are encoded into the REST request, this limits the total size of each request to approximately 4.3MB. Requests which exceed the maximum will receive a response with 413 HTTP status code.

...

To link the document to another object, the ContentDocument Id field must also be present so that the value can be chained to Content Document Link mapping. S4S Cloud The send2crm service automatically re-loads the Content Version object to get the generated value when creating a new record.

...

Large files and those shared with other systems are better may be handled as external documents using Salesforce Files Connect, e.g. with a Google Drive or SharePoint service.

Salesforce Files Connect documentationS4S Cloud can then be used to create the reference to the external document:

  1. Perform the file upload to the external service using your website back end or as desired.

  2. Submit the required information file details with the S4S Cloud send2crm form. Use a mapping that creates the The mapping should create a Content Version object as similar to above, but specify ā€œEā€ with the Content Location set to ā€œEā€ (for external Content Location and set the appropriate fields to reference the file in the external service.) and the External Data Source Id set to your configured data source.

...