Synchronizing through a batch file - command line interface (Integration for Windchill RV&S)
Integration for Lifecycle Manager has a command line interface that allows you to perform a synchronization using one or more specified Integration for Lifecycle Manager Mappings. You can use the command line to start the synchronization process in your absence, for example, by running the command line through the AT command under Windows. You can create a DOS batch file that contains one or more command lines.
The synchronization will use the options that have been set for the Integration for Lifecycle Manager Mapping.
* 
The Perform Clash Analysis option is ignored when using the command line interface.
The command line interface uses the following syntax:
"<path of IntegritySynchronizer.exe>\IntegritySynchronizer.exe" "<model reference>" [options]
Where:
"<model reference>"- is the path and name of the model you want to synchronize (in Modeler, this value appears on the General tab of a Model's Property Pages).
The following [options] are available:
/m "<mapping>" ["<mapping>"] — are the names of the Integration for Lifecycle Manager Mappings you want to use for the synchronizations.
[/d¦/s¦/i] — specifies how clashes are resolved when performing bidirectional synchronizations of Requirements:
/d specifies that the value in the Windchill RV&S Document is updated using the value from the Modeler Model.
/s specifies that the value in Modeler Model is updated using the value from the Windchill RV&S Document.
/i specifies that items that clash are ignored.
If neither /d, /s or /i is specified, the latest value Modeler or Windchill RV&S is used.
/f — specifies that if the synchronization is bidirectional and the Windchill RV&S Document is not fully writable, then Integration for Lifecycle Manager should perform a unidirectional Modeler <- Integrity Lifecycle Manager synchronization, even if the Modeler Requirement was last changed.
* 
If the /f option is omitted and the Windchill RV&S Document is not fully writable, then Integration for Lifecycle Manager will abort the synchronization.
/u "<Lifecycle Manager user name>" — is the name used to log on to Windchill RV&S.
/p "<Lifecycle Manager user password>" — is the password used to log on to Windchill RV&S.
/l "<log file>" — is the path and name of a log file that will be created to record the Integration for Lifecycle Manager log.
* 
For 64-bit versions of Windows:
"C:\Program Files (x86)\Windchill Modeler\Modeler\Exe\IntegritySynchronizer.exe" "\\SQL\MyServer@MODELER\MyDatabase\MyModel\0" /m "My Mapping" /u LifecycleManagerUser /p MyPassword /l "C:\logs\actions.log"
For 32-bit versions of Windows:
"C:\Program Files\Windchill Modeler\Modeler\Exe\IntegritySynchronizer.exe" "\\SQL\MyServer@MODELER\MyDatabase\MyModel\0" /m "My Mapping" /u LifecycleManagerUser /p MyPassword /l "C:\logs\actions.log"