Reference > Script steps reference > Files script steps > Save a Copy as XML
 

Save a Copy as XML

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

See also 

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 Advanced 

Yes 

FileMaker Go 

No 

FileMaker WebDirect 

No 

FileMaker Server 

No 

FileMaker Cloud products 

No 

FileMaker Data API 

No 

Custom Web Publishing 

No 

Runtime solution 

No 

Originated in 

FileMaker Pro 18.0 Advanced

Description 

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

Important  This XML format is provided as a preview to gather customer feedback; it may change significantly in future FileMaker Pro Advanced versions and is not intended for use in production systems.

Notes 

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

Example 1 

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

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

Related topics 

Script steps reference (alphabetical list)

Script steps reference (category list)