Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  

FM.RunSaveAsXML

Saves database as XML.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
FM 9.2 Yes Yes No No No
MBS( "FM.RunSaveAsXML"; Path )   More

Parameters

Parameter Description Example value
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.
"/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.

Examples

Save as XML on desktop:

Set Variable [ $r ; Value: MBS( "FM.RunSaveAsXML"; "/Users/cs/Desktop/test.xml" ) ]

See also

Blog Entries

Created 30th April 2019, last changed 30th April 2019


FM.RunDatabaseDesignReport   -   FM.RunScript

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins