External Document
Configures a field to have a file dialog that the user can upload one or more files with
"allowMultiple"
can be set to true to allow more than one file to be uploaded to a single field.
Allows all file types to be uploaded.
Value Precision | is AllowMultiple respected? | Has validation? |
---|---|---|
- | Yes | Yes |
External Document Data Type Definition
Creating an entity with an external document
To create an entity with an external document characteristic, follow the following steps:
Request temporary credentials.
Build a POST request to one of the create entity endpoints, where the body has the following structure. Take note of the "external_doc" characteristic, where we are passing the file name of the document as the value.
If your request is successful, you will receive the new entity ID in the response.
You will then retrieve your new entity using a GET request with the entity ID.
For the "external_doc" characteristic, a URL will be returned in the response.
You can then use this URL to upload the document binary directly to our AWS S3 storage, by doing a PUT request with the binary data of your document. In Postman, this would look like:
Last updated