Trading Networks 10.3 | Administering and Using Trading Networks | Administering Trading Networks | Migrating Assets | Migrating Assets Using the tnexport and tnimport Utilities | tnimport Utility | Specifying Import Options on the Command Line
 
Specifying Import Options on the Command Line
To specify import options on the command line, go to the Integration Server_directory \instances\instance_name\packages\WmTN\bin directory and run this command:
tnimport infile [options]
*infile is one of the parameters listed in the table:
Parameter
Value
-bin binfile
Full path to the binary file that contains the assets to import.
-xml xmlfile
Full path to the XML file that contains the assets to import.
-zip zipfile
Full path to the zip file that contains the assets to import.
If you specify a relative path, Trading Networks looks for the directory relative to the directory from which you are running the tnimport utility.
*One or more options are listed in the table as follows:
Option
Action
-db
By default, the tnimport utility only reads and writes information about the data in your file, which is useful for testing purposes. This parameter tells the utility to actually import the assets into the target system.
-force
If document types, document attributes, partner profiles, field groups, field definitions, and TPAs already exist in the target system under the same ID or name as assets you are importing, this parameter tells the tnimport utility to overwrite the target system assets.
If you do not want to overwrite such assets, do not specify this option.
-replaceRuleList
If you are importing processing rules, this parameter tells the tnimport utility to replace all existing rules in the target system with the rules you are importing.
If you want to replace only matching rules and append non-matching rules without changing the rule order on the target system, do not specify this option.