Components Crossplatform Mac & Win Server Client Old Deprecated Guides Examples Videos
New in version: 9.5 10.0 10.1 10.2 10.3 10.4 10.5 11.0 11.1 11.2 Statistic FMM Blog
Initializes the XL library by loading it.
|Component||Version||macOS||Windows||Linux||Server||FileMaker iOS SDK|
|XL||2.9||✅ Yes||✅ Yes||✅ Yes||✅ Yes||✅ Yes|
|LibPath||Native path to the DLL on Windows or Dylib file on MacOS.
Can be empty for default file name with file in same folder as plugin.
|LicenseName||The name of your libXL license.||""|
|LicenseKey||The license key of your libXL license.||""|
Returns OK on success.
DescriptionInitializes the XL library by loading it.
You can keep the library in a database field and export it at runtime to a known location and load it from there.
If you have no license yet, you can test this function by passing empty strings for name and key.
For getting a license key, please visit the libXL website:
Starting with version 4.4, you can pass just the filename of library and the plugin finds it in the Extensions folder or in FileMaker's application folder.
Windows error 193 means that 64-bit FileMaker tried to load 32-bit library or 32-bit FileMaker tried to load 64-bit library. The bit level must match between app and library. For macOS the error message will tell you about wrong architecture.
Starting version 9.5, the plugin will look into the same folder for the DLL as the plugin resides. And we still look for 32/64 suffixes to DLL name. If no name is provided, we look for libxl.dll/dylib/so files.
If you get a crash here on MacOS, please check if crash report says Code Signature Invalid. Then you may need to code sign the dylib yourself to match the code signature of your runtime application. The dylib from MBS is normally code signed already and should work as is.
This function requires a native path. Use Path.FileMakerPathToNativePath to convert a FileMaker path to a native path if required. If you like to have the user choose the path, you can use FileDialog functions.
For Server be aware that server has limited permissions and may not be able to access all files on a computer.
Initialize when needed:
Initialize with license key on Windows with Server:
Initialize automatically and look in same folder as plugin for the DLL/dylib/so file:
Register LibXL for MBS Plugin
Init with automatic picking of library name:
- Version 11.2
- Changed XL.Initialize to accept empty path and pick the file name automatically per platform.
- Version 9.5
- Version 8.0
- XL/Change Column Names
- XL/Edit Sheet
- XL/Export records
- XL/Sheet with colored text
- XL/Writing data
- MBS FileMaker Plugin, version 11.2pr1
- MBS FileMaker Plugin, version 9.5pr6
- How to use XL functions with MBS FileMaker Plugin
Created 18th August 2014, last changed 23th March 2021
Feedback: Report problem or ask question.
MBS Xojo Chart Plugins