Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 11.0   11.1   11.2   11.3   11.4   11.5   12.0   12.1   12.2   12.3    Statistic    FMM    Blog  


Shows dialog to open files.

Component Version macOS Windows Linux Server iOS SDK License
FileDialog 9.1 ❌ No ❌ No ❌ No ❌ No ✅ Yes Free
MBS( "DocumentPicker.Open"; AllowedUTIs; Flags { ; DirectoryPath } )   More


Parameter Description Example Flags
AllowedUTIs The list of allowed universal types. "public.jpeg¶public.png"
Flags Available in MBS FileMaker Plugin 11.0 or newer.
Various flags.
Value 1: Whether to allow multiple files to be selected. (iOS 11 or newer, otherwise ignored)
Value 2: Whether to show file extensions (iOS 13 or newer, otherwise ignored)
You can combine both flags and pass 1+2.
DirectoryPath Available in MBS FileMaker Plugin 11.0 or newer.
The path to the directory to use as base.
New in iOS 13.
$documentFolderPath Optional


Returns OK or error.


Shows dialog to open files.
The user selects an external document. The document picker provides access to the document, and the user can edit the document in place.

On success, we store the list of file paths and trigger script. Script is trigger with parameter "Pick" or "Cancel".
The paths list refers to the selected documents.

Warning: Function returns immediately and dialog shows after function returned asynchronously.
For FileMaker database files, please use com.filemaker.doc.fmp12 as UTI or simply

See also

Release notes

Example Databases

Blog Entries

Created 28th January 2019, last changed 27th December 2020

DocumentPicker.Move - DocumentPicker.SetTrigger

Feedback: Report problem or ask question.

Start Chat