BE_ExportFieldContents

BE_ExportFieldContents ( field {; outputPath } )

 

Exports the contents of the container field to disk at the outputPath specified. Container fields should be inserted via "Insert File". This provides a similar functionality to the Export Field Contents script step, but is also available via FileMaker Server.

 

Version : 3.0
3.3 : recurively create any directories needed
4.0 : changed the outputPath parameter to be optional. Allowed for images with resource forks.

 

Parameters :

  • field : the content of the command to run.
  • outputPath : a system file path to write the file to.  If not supplied it will write the file to the temp folder and return the path to the file.

 

Result : empty for success, or ? for failure. Error codes can be retrieved with BE_GetLastError.

Still need help? Contact Us Contact Us