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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

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

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


DocumentPicker.Export - DocumentPicker.FileCount

Feedback: Report problem or ask question.