Save a Copy as XML

Saves a copy of an open file as an XML representation of the schema, layouts, and scripts.

Options 

  • Window name specifies the window name of an open file.

  • Destination file is the path of the XML file to create. See Creating file paths.

Compatibility 

Product Supported
FileMaker Pro Yes
FileMaker Go No
FileMaker WebDirect No
FileMaker Server Yes
FileMaker Cloud Yes
FileMaker Data API No
Custom Web Publishing No

Originated in version 

18.0

Description 

This script step is similar to choosing Tools menu > Save a Copy as XML. See Documenting database schemas.

Notes 

  • To perform this script step, the user or the script must have full access privileges. See Creating and editing scripts.

  • This XML format may change from one version of FileMaker Pro to the next. When you use the XML to compare two versions of a FileMaker Pro file, be sure that the same version of FileMaker Pro is used to save a copy of each file as XML. If you use the XML with other tools, be sure those tools are designed to use the XML saved by your version of FileMaker Pro.

Example 1 

Saves a copy of the open file whose window name is Inventory to an XML file.

Copy
Save a Copy as XML [ Window name: "Inventory" ; Destination file: "Inventory.xml" ]