The Files external object enables you to programmatically select files from your device to be assigned to Blob and BlobFile attributes and variables.
It does not have any.
Selects a file from the device.
The method will display the available sources in the device to select a file. In the case of iOS applications, these sources will be:
- Local file (files in the application's sandbox)
- Files application (introduced from iOS 11)
- Image gallery
With the optional acceptedTypes parameter, the required file types can be indicated in two ways:
- Media type indication. i.e. "image/*" to indicate that only images files can be selected.
- File extension (without the dot). i.e. "png"
A comma separated list of these components is also accepted to indicate more that one criteria.
Note: as of GeneXus 16 Upgrade 7 this parameter is ignored. Support will be added in a future upgrade.
It does not have any
&BlobFile = Files.ChooseFile()
This external object is available as of GeneXus 16 Upgrade 7 for iOS and as of GeneXus 16 Upgrade 10 for Android.