Sample upgrade configuration files

In a Command Line Interface (CLI), FormSync uses an upgrade configuration file to specify the Source and Target configurations to be used for the upgrade. This file can also optionally include an email notification entry.

The upgradeConfig.xml file (where upgradeConfig is the filename) is optional for upgrades. If, however, you do not use this file, you must specify, as a switch, at least the Target configuration.

See Using FormSync from a CLI.

This file can be located in the same folder as the formsync.exe file, or it can be located elsewhere. If it is located elsewhere, you must provide the full path to it.

This is an example of an upgrade configuration control file:
Note: This is a sample file only and cannot be used "as is".
<?xml version="1.0" encoding="utf-8"?>
<UpgradeInformation>
	<Source>
		<Configuration>CoreDevProdLocal</Configuration>
	</Source>
	<Target>
		<Configuration>CoreDevLocalImport</Configuration>
	</Target>
	<Contact Email="someUser@yourCompany.com" />
</UpgradeInformation>

Alternatively, you can use an upgrade configuration file to specify that the upgrade operation should use temporary tables in the Target database as the Source, instead of an external Source.

This is an example of an upgrade configuration file in which FormSync is instructed to use temporary tables as the Source:
Note: This is a sample file only and cannot be used "as is".
<?xml version="1.0" encoding="utf-8"?>
<UpgradeInformation>
	<Source UseTempTables="true" />
	<Target>
		<Configuration>CoreDevLocal</Configuration>
	</Target>
	<Contact Email="someUser@yourCompany.com" />
</UpgradeInformation>