Sample import control file

In a Command Line Interface (CLI), FormSync uses an import control file to specify the Target configuration and the path to a folder which contains one or more files to import.
This is an example of a control file used to import XML data using FormSync by means of a CLI switch.
Note: This is a sample file only and cannot be used "as is".
<?xml version="1.0" encoding="utf-8"?>
<ImportInformation Version="010000">
	<Settings>
		<Configuration>CoreDevLocalImport</Configuration>
		<Path>default/ExportTest</Path>
	</Settings>
</ImportInformation>

An import control file has fewer options than an export control file. Available options include these:

  • Configuration - The Mongoose configuration into which the objects are to be imported.
  • Path - The base location for single files that mirror the output format.
  • Licenses - If this option is set to True, then form licenses are also imported.
  • Scope - This option overrides the scope defined for each object in its XML file. Currently, the only supported options are Vendor and Site.