FormSync commands, switches, and options
This table lists and describes the commands and switches you can employ while using FormSync in a Command Line Interface (CLI):
Command/Switch | Description |
---|---|
-u:[upgradeConfig.xml] OR
|
Use this option if you are synchronizing an upgrade. In conjunction with this
option, you must also provide one of these additional sets of specifications:
|
-p:patchInfo.xml OR
|
Use this option if you are performing a patch synchronization. When using this
command, these switches also apply:
The required |
-t:targetConfig OR
|
Required. This switch specifies the name of the Target configuration
(targetConfig).
This can be provided within the upgrade or patch configuration file. |
-s:sourceConfig OR
|
This switch specifies the name of the Source configuration
(sourceConfig).
If the Source is in temporary tables in the Target database, then this switch is not required. Otherwise, it is required. In the case of an upgrade operation, this information can be provided within the upgrade configuration XML file. |
-m:email@address OR
|
Optional. This switch specifies the email address for the individual who is to
receive notification of the synchronization
(email@address).
Email notification can also be specified in the Target database process defaults. |
-o:[syncSettings.xml]
OR
|
Optional. Use this switch to make sychronization settings in FormSync before
synchronization begins. The settings in this file are saved in the
syncSettings.xml file (where syncSettings is
the filename) when a user clicks either the If the file is not specified or not found, then FormSync uses the Default synchronization settings. |
button in the form version or the button in the application version of
FormSync. The settings in this file can then be used to make FormSync settings prior
to performing a synchronization using the CLI.
start /wait formsync
-switch[:controlFile] |
Use this command to instruct the system to wait for the FormSync operation to
finish and FormSync to terminate before proceeding and presenting the next command
prompt.
When using this command line, -switch refers to the
switch used, and We recommend that you use this
command line in conjunction (especially) with the
|
-e:exportConfig.xml OR
|
Use this switch to export the contents of a configuration to an XML control
file (exportConfig.xml , where
exportConfig is the filename). You can then import the
configuration data to another system.
This control file specifies these elements for export:
This allows you to selectively export XML versions of forms, Explorer objects, or global objects from a configuration using this control file and the XML format (useful when operating in the cloud). The path can begin with default\, which causes the system to look for the defaults that FormSync normally uses. It tries these paths in order:
If the path does not begin with default\, you can specify an actual path or the local folder. We recommend that you use the
|
-i:importConfig.xml OR
|
Use this switch to import the data from an export configuration control file to
a Target configuration. (See the previous entry in this table.)
The
This option is especially useful when operating in the cloud. We
recommend that you use the |