Custom Source
A custom source adds your own source of files to the Filestack File Picker menu, either a fixed list of files or an integration that you write.
How It Works
You create a JavaScript object with a label, a unique name, an icon, and mounted and unmounted functions. The picker calls mounted when the user opens your source, and your code draws the file list.
Adding It to the Picker
Add the object to the fromSources list in the picker options, next to the built-in sources: fromSources: ['local_file_system', customSource, 'googledrive'].
Uses
- Files from an internal system
- A stock library hosted by your company
- A fixed set of templates
Related terms
File Picker
Filestack’s customizable upload widget with multiple source options.
Cloud Sources
Cloud services users can upload from in the File Picker, such as Google Drive and Dropbox.
Upload Widget
Customizable UI component for file selection and upload functionality.
More in Uploads
This page is one of 94 terms in the Filestack glossary.
Browse all terms