B2B Integration 10.4 | Administering and Monitoring B2B Transactions | Trading Networks Administrator's Guide | 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.

Copyright © 2016- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release