Save FileMaker file as XML
Requires FileMaker Server 20.3 or later. This endpoint will create a clone of the file and save it as XML. The clone will be deleted after the XML is saved. If the file is already closed, the file will be used directly.
filename*stringName of the FileMaker file to convert
POST /otto/api/fm-file/:filename/save-as-xml Request body
application/json- body
encryptionKey?stringOptional encryption key
includeDdrInfo?booleanInclude extra DDR information (script text) in the XML output
falsepassword*stringFileMaker password
saveToDocuments?booleanWhether to save the XML file in the Documents folder
falseusername*stringFileMaker username
catalogList?array<string>Restrict the XML output to a subset of FileMaker DDR catalogs (e.g. ScriptCatalog). Empty or absent includes all catalogs. Requires FileMaker Server 26.
splitCatalogs?booleanOutput one XML file per catalog, returned as a zip archive. LibraryCatalog is automatically excluded and standalone binary data is forced on by the tool. Requires FileMaker Server 26.
falsestandaloneBinaryData?booleanEmbed each layout object's binary data inline rather than referencing the deduplicated LibraryCatalog. Requires FileMaker Server 26.
falsePOST /otto/api/fm-file/:filename/save-as-xml Positive response
application/json- response
messages*array<>response*curl -X POST 'https://your.server.net/otto/api/fm-file/string/save-as-xml' \ -H 'Content-Type: application/json' \ -d '{ "password": "string", "username": "string"}'{ "messages": [ { "code": 0, "text": "ok" } ], "response": {}}Was this page helpful?