Commands that add or update content

Use these commands to add content to or update content in InfoSphere® Information Analyzer projects.

Basic parameters

The basic syntax of a command to add or update content is:
IAAdmin -user user_name -password password -url https://host:port option -[suboption]
For example, the following command updates an existing project with the artifacts that are contained in the file myfile.xml:
IAAdmin -user admin -password admin -url https://myhost:9443 -update -projectContent 
myfile.xml
Table 1. Basic parameters
Parameter Description
-user user_name Name of the user (required)
-password password Password to use (required)
-help or -h Displays list of available IAAdmin parameters
-v Verbose. If specified, success or failure error codes are displayed on the console or are sent to the specified file. The success code is (200). Error code 400 indicates that the request was bad. Error code 500 indicates that there was a server error. Consult the application server log files for more details.
-url https://host:port Host name and port number of the server (required)

Options that create or update content

The XML file must conform to the relevant schema. For more information about specific schema structures, see Schema definition file.

Table 2. Options that create or update content
Content to create or update Option
Create a project or project artifacts -create -projectContent XML_path_and_file_name
Update project artifacts
Note: To update project artifacts in an existing project, you can manually edit the values of the artifacts in an XML file that you obtain by using one of the commands to get content. Manually edit the file, then use the -update option. You can update values of any content in the XML file except data source information.
-update -projectContent XML_path_and_file_name
Run tasks -runTasks -content XML_path_and_file_name
Publish analysis results -publishResults -content XML_path_and_file_name
Publish a specified rule or rule set definition -publishRule-projectName project_name-ruleName rule_or_rule_set_definition_name
Copy a published rule or rule set definition to a specified project -copyPublicRule-ruleName rule_or_rule_set_definition_name-projectName project_name[-newRuleName new_rule_name]