
Function: ACF_InstallFile
ACF_InstallFile allows you to install a compiled source stored in a filesystem file. However, there is an important note regarding runtime versions of the FileMaker application.
In the case of the file being located in the extensions folder of the solution and supplying the path to it via this function in a runtime environment, it appears that the runtime may unload the plugin. It seems like FileMaker actively prevents any references to the folder structure of the runtime when fed as parameters to the plugin. This behavior is specific to runtime versions.
For this reason, it is recommended to use the ACF_Install_base64Text function to load packages when working with runtime solutions.
Prototype:
ACF_InstallFile( base64_Binary_File )
Parameters:
Parameter name | Type | Description |
---|---|---|
base64_Binary_File | string | Path to the file |
Return value:
Type TEXT : An empty string is returned on success, while an error message is returned on failure.
Example:
Set Variable [ $res; Value:ACF_InstallFile( "~/Projects/ACFbinaries/myACFfunctions.dsComp" ) ]
References:
- No references