Using FormSync from a CLI
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. |
-f:option OR
|
This switch instructs FormSync to check the specified target configuration for
potential problems and to fix any problems it finds. These are the options for this switch:
|
-fs:option OR
|
This switch must be used in conjunction with the -f|-fixes
switch. Use it to filter the forms and objects to be checked by their scope.
These are the options for this switch:
|
-ff:filter
OR
|
This switch must be used in conjunction with the -f|-fixes switch. Optionally, use this switch to specify
filter criteria to be used when scanning the configuration. You can filter by form
name or component name. |
-fo:filename
OR
|
This switch must be used in conjunction with the -f|-fixes switch. Use this switch to specify the name of
the file to which scan results are to be saved. The output file is normally saved to the same folder in which the formsync.exe file resides. If you do not specify an output file for the scan results, then FormSync creates one automatically, using the format: FSfix-configuration.log where:
For example, if you performed a "Check Forms" operation on a configuration name "ACMEops", and you specified no output filename, then FormSync would generate an output log file named FScheckforms-ACMEops.log. |
-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 |
-defaultnewvendor OR -dnv |
Use this option to change the default behavior of FormSync in
between a synchronization and the Completion of Automated Upgrade. When a conflict that requires a prompt is identified by FormSync, the prompt is deferred until the user runs the Completion of Automated Upgrade. By default, FormSync then uses the non-vendor values of the attribute, such as site, group, or user, until the Completion of Automated Upgrade is performed. This option allows you to use the new vendor values of the same attribute instead of the non-vendor values until the Completion of Automated Upgrade is performed. |