Syntax Example Example importIPMSearch

Imaging and Process Management Custom WLST Commands 17-9

17.3.5.2 Example

The following example updates an existing input named Invoices. Note that the repository is listed as None because the update action uses the repository specified in the original application. importIPMInputexportFile=homeipmuserexportdefinitions.xml, action=Update, name=Invoices, securityOption=Existing

17.3.5.3 Example

The following example creates a new input named Receipts. Note that the repository is explicitly named because the add action requires a valid repository be named. importIPMInputexportFile=homeipmuserexportdefinitions.xml, action=Add, name=Receipts, securityOption=ValidOnly

17.3.6 importIPMSearch

Import a search definition from a previously exported definition file.

17.3.6.1 Syntax

importIPMSearchexportFile, action, name, securityOption, securityMember name Required. The name of the input being imported from the exported definitions file. repository The name of the repository in which to create the application. Required when adding an application, ignored when updating or modifying an application. securityOption Optional. Specifies how to define security for the imported application as follows: ■ Existing : Uses input security as defined in the existing definition. Valid only for an update action. ■ Imported : Attempts to use input security as defined in the import file. Fails if any members defined in the import file are invalid. ■ ValidOnly : Uses input security as defined in the import file and filters out any invalid members. ■ CurrentUser : Sets full permissions to the user used to connect to the server. ■ User : Sets full permissions to the user name provided in the securityMember parameter. ■ Group : Sets full permissions to the group name provided in the securityMember parameter. securityMember Name of the user or group given full permissions to the input. Valid only when securityOption is set to either User or Group, otherwise it is ignored. Argument Definition 17-10 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

17.3.6.2 Example

The following example updates an existing search named Invoices. Note that the repository is listed as None because the update action uses the repository specified in the original application. importIPMSearchexportFile=homeipmuserexportdefinitions.xml, action=Update, name=Invoices, securityOption=Existing

17.3.6.3 Example

The following example creates a new search named Receipts. Note that the repository is explicitly named because the add action requires a valid repository be named. importIPMSearchexportFile=homeipmuserexportdefinitions.xml, action=Add, name=Receipts, securityOption=ValidOnly Argument Definition exportFile Required. A full path to the export definition files location on the Oracle IPM server node. Must be enclosed in single or double quotes. action Required. The action to be performed. Available actions are: ■ Add : Creates a new search. Fails if a search with the same name already exists. ■ Update : Modifies an existing search. Fails if a search with the same name does not exist. ■ AddOrUpdate : Creates a new search if it does not already exist or updates one that does. name Required. The name of the search being imported from the exported definitions file. repository The name of the repository in which to create the application. Required when adding an application, ignored when updating or modifying an application. securityOption Optional. Specifies how to define security for the imported application as follows: ■ Existing : Uses search security as defined in the existing definition. Valid only for an update action. ■ Imported : Attempts to use search security as defined in the import file. Fails if any members defined in the import file are invalid. ■ ValidOnly : Uses search security as defined in the import file and filters out any invalid members. ■ CurrentUser : Sets full permissions to the user used to connect to the server. ■ User : Sets full permissions to the user name provided in the securityMember parameter. ■ Group : Sets full permissions to the group name provided in the securityMember parameter. securityMember Name of the user or group given full permissions to the search. Valid only when securityOption is set to either User or Group, otherwise it is ignored. Imaging and Process Management Custom WLST Commands 17-11

17.3.7 listIPMConfig