Examples
You want to import the assets in the XML file \TradingNetworks\ExportedData.xml, and you want to overwrite assets on the target system that have the same ID or name as assets you are importing. Use this command:
tnimport -xml \TradingNetworks\ExportedData.xml -db -force
You want to view information about the assets in the ExportedData.bin file that resides in the same directory as the tnimport utility. You do not want to import the assets into your database. Use this command:
tnimport -bin ExportedData.bin
You want to import all assets in the ExportedData.bin file that resides in the same directory as the tnimport utility, and you want to replace the existing list of processing rules in the target system with the processing rules you are importing. Use this command:
tnimport -bin ExportedData.bin -db -replaceRuleList
You want to import assets into the target system based on the options specified in the XML file ExportOptions.xml that resides in the same directory as the tnimport utility. Use this command:
tnimport -file ExportOptions.xml
You want to import the assets in the zip file \TradingNetworks\ExportedData.zip into your database. Use this command:
tnimport -zip \TradingNetworks\ExportedData.zip -db
Note that this command does not overwrite the assets on the target system that have the same ID or name as the assets you are importing. The remaining assets are imported.