BE_FileImport
BE_FileImport ( filePath { ; compressBoolean } )
Imports the contents of the file into a container field or variable, and optionally compresses the field. This provides a similar functionality to the Insert File script step, but the plugin function is also available via FileMaker Server whereas the step doesn't work on server.
Parameters:
- filePath : the path to locate the file.
- compressBoolean : True for compression or empty or False for not.
Keywords:
File Import
Version History:
- 3.0 : First Release
- 4.0.2 : Renamed from BE_ImportFile
Notes:
- Also note that you can convert container types within a container via the BE_ConvertContainer function, so you can convert the resulting file to an image if required.
Example :
Set Field [ Imports::Image; BE_FileImport ( $file ) ]