import_tools command options
You can use any of the following options with the import_tools command. You must always supply the -password option.
-charset charset- Character set encoding (charset) for the files to import. If this option is null, PolicyCenter sets the default character encoding to UTF-8.
-dataset integer- Integer value (integer) representing the dataset to
import from a CSV-formatted file, for example:
RolePrivilege,0,default_data:3,abdelete,audit_examiner
-ignore_all_errors- Causes the tool to ignore any errors in a CSV-formatted input file.
-ignore_null_violations- Causes the tool to ignore violations of null constraints in a CSV-formatted input file.
-import filename1,filename2, ...- Imports administrative data from one or more CSV (comma-separated values data) files or XML files.
-output_csv filename- If used with the
-importoption, outputs comma-separated values to the specified file and then stops processing. PolicyCenter imports no data into the server. Use this option to convert XML input files to CSV-formatted output files. -output_xml filename- If used with the -import option, outputs XML to the specified file and then stops processing. PolicyCenter imports no data into the server. Use this option to convert CSV input files to XML-formatted output files.
-password password- Password to use to connect to the server. PolicyCenter requires the password value.
-privileges- Adds the role privileges contained in file roleprivileges.csv in the Guidewire Studio™ modules/configuration/config/import/gen folder to those roles that already exist in the database.
-server url- Specifies the PolicyCenter host server URL.
Include the port number and web application name, for example:
http://servername:8180/pc
-user user- User to use to run this process.
