Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

DocumentPicker.File

Queries native file path for a file.

Component Version macOS Windows Linux Server iOS SDK
FileDialog 9.1 ❌ No ❌ No ❌ No ❌ No ✅ Yes
MBS( "DocumentPicker.File"; Index )   More

Parameters

Parameter Description Example
Index The index of the file to query. 0

Result

Returns file path or error.

Description

Queries native file path for a file.
Pass index from 0 to DocumentPicker.FileCount-1.

Example path you may see for import:
"/Containers/Data/Application/2E993ED8-F5AA-4A18-877C-F0CB72485337/tmp/de.monkeybreadsoftware.test-Inbox/IMG_0005.JPG"
And for open without inbox:
"/Containers/Data/Application/2E993ED8-F5AA-4A18-877C-F0CB72485337/Documents/IMG_0005.JPG"

See also

This function checks for a license.

Created 28th January 2019, last changed 28th January 2019


DocumentPicker.Export - DocumentPicker.FileCount