When a user creates content in your application, generates a report, or finds something that they want to save for later, you can allow them to send that content directly to dropbox, google drive, evernote, or even send it via email.
Export is basically the opposite of filepicker.pick, in that it takes a Blob and lets the user specify where to send it to.
Where to load the Filestack UI into. Possible values are "window", "modal", or the id of an iframe in the current document. Defaults to "modal" for desktop browsers and 'window' for mobile browsers.
The mimetype of the file. Note that we try to guess the file extension of the file from this, so
image/png will result in a
.png ending while
image/* will not have an ending. If you don't specify the mimetype, we will try to guess, otherwise we will fall back to letting the user save the file as whatever extension they choose, which may cause issues (if they try to save text to Facebook, for instance).
The extension of the content you want the user to save. Like mimetype, this is used to suggest a filename and prevent the file from being saved to services that don't support it (Sending text to Facebook, for instance). Do not use both extension and mimetype at the same time.
Provide a recommended file name. The user will always be able to overwrite but you'll be able to set the default name.
Specify which services are displayed on the left panel, and in which order, by name.
Be sure that the services you select are compatible with the mimetype(s) or extension(s) specified.
Currently, Filestack supports the following services, and we're adding more all the time:
For all new applications, it is required to set your own Dropbox OAuth keys in order to use the Dropbox service with Filestack. More info
The COMPUTER service should be specified if you want users to be able to select files from their local device (their desktop or mobile device). To learn more about local file uploads Click Here
Specifies which service to show upon opening the picker dialog.
Specify the filestack dialog language version. If not set, it will use language detected in the browser. If the detected language is unavaliable, the default value is 'en'.
If you would like to co-create the translation to any language, please contact us.
By default filepicker's v1 library opens the mobile UI on mobile devices. With 'mobile' set to true you can force the dialog box to open in mobile mode on desktops.
policy: POLICY, signature: SIGNATURE
If you have security enabled, you will need to include a valid Filestack policy and signature in order to perform the requested call. This allows you to select who can and cannot perform certain actions on your site. Read more about security and how to generate policies and signatures