...
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 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. |
Complex requirements
Files may also be handled by directly mapping to the Content Version object. The :_fname, :_ftype and :_fdata properties may be mapped directly to the appropriate fields. The latter is automatically decoded to a Blob type which is suitable for the Version Data field.
...