Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
FM.RunSaveAsXML
Saves database as XML.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| FM | 9.2 | Yes | Yes | No | No | No |
MBS( "FM.RunSaveAsXML"; Path ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| Path | The path where to save for MacOS. If you don't specify a path, the last one used in the dialogs will be used. No longer used on MacOS Mojave/Catalina due to raised security by Apple which prevents us changing the dialog. |
"/Users/cs/Desktop/test.xml" |
Result
Returns OK or error.
Description
Saves database as XML.This requires FileMaker Pro Advanced 18 and performs the relevant menu command for you.
This must be the last step in a script, because it triggers an asynchronously process to make a report. So the plugin will run the menu command, enters the file name and the save button for you.
If you like to run other things later, simply run a script 5 seconds later with FM.RunScriptLater.
May not work if debugger window is visible.
See also FM.RunDatabaseDesignReport.
Fixed directory path passing for macOS in plugin version 10.4. If path contains a file name, we pass that to the save dialog and if possible don't show the dialog at all.
Examples
Save as XML on desktop:
Set Variable [ $r ; Value: MBS( "FM.RunSaveAsXML"; "/Users/cs/Desktop/test.xml" ) ]
See also
Blog Entries
- MBS FileMaker Plugin, version 10.4pr8
- Was gibt es neues bei MBS Version 9.2
- FileMaker 18 Platform available
- MBS FileMaker Plugin, version 9.2pr6
Release notes
- Version 10.4
- Fixed FM.RunDatabaseDesignReport and FM.RunSaveAsXML to pass directory for macOS again. If possible we now skip the save dialog and tell FileMaker where to save directly.
- Version 9.2
- Added FM.RunSaveAsXML function.
Created 30th April 2019, last changed 4th September 2020
FM.RunDatabaseDesignReport - FM.RunScript
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins