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
4.0 : made the outputPath optional.

 

Parameters :
field : the content of the command to run.
outputPath : a system file path.  When not supplied the file is written to the temp folder and a path to the file is returned instead.

 

Result : The path to the file or ? for an error.

 

Note : that you can convert container types within a container via the BE_ConvertContainer function, so even if you didn't originally insert it via Insert File, it can be converted from an image to a file inside the container field itself.

Have more questions? Submit a request

1 Comments

  • 0
    Avatar
    dansmith65

    This function appears to return an empty string for success, not 0.

Please sign in to leave a comment.