Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
PList.ReadFile
Reads property list files.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
PList | 11.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |
MBS( "PList.ReadFile"; Path ) More
Parameters
Parameter | Description | Example |
---|---|---|
Path | The native file path to the plist file. | $path |
Result
Returns JSON or error.
Description
Reads property list files.Can read files in binary or XML format.
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.
Examples
Read FileMaker info.plist file:
MBS("PList.ReadFile"; "/Applications/FileMaker Pro.app/Contents/Info.plist")
See also
Blog Entries
This function checks for a license.
Created 29th August 2021, last changed 29th August 2021
