Command Reference

Command Reference

importAll

importAll

Imports all objects from an uploaded XML file into a specific RulePoint project.
When you import objects, verify that the file contains all the supporting objects.
The uploadFile command uses the following syntax:
rpcmd importAll <-URL|-u> url <-UserName|-un> user_name <-Password|-pd> password <-ProjectName|-pn> project_name <-FileName|-fn> file_name [<-ImportMode|-im> import_mode]
The following table describes the
rpcmd
importAll options and arguments:
Option
Argument
Description
-URL
-u
url
URL of RulePoint design server instance to connect to run the command.
-UserName
-un
user_name
User name to connect to RulePoint Server.
-Password
-pd
password
Password of the user name to connect to the RulePoint Server.
-ProjectName
-pn
project_name
Name of RulePoint project where you want to import the objects.
-FileName
-fn
file_name
The XML filename that you have uploaded to the RulePoint server. The file contains the objects that you want to import.
-ImportMode
-im
import_mode
The mode that you can specify for importing objects, so that the objects can either fail, skip, or update existing objects in the project.

Example

You can run the following command to import all objects from an uploaded XML file,
Banking_Sample.xml
, from the project "Default Project." The import mode used is "UPDATE."
> ./rpcmd.sh importall -u http://localhost:8080/rulepoint -un Administrator -pd Administrator1 -pn "Default Project" -fn Banking_Sample.xml -im UPDATE

0 COMMENTS

We’d like to hear from you!