Description Syntax Examples addIRMTestContent

Information Rights Management Custom WLST Commands 16-13

16.3.3.3 Example

wls:base_domainserverConfig setIRMImportFolderimport

16.3.4 getIRMImportFolder

Online command that displays the value of the data import folder.

16.3.4.1 Description

This command displays the location of the folder used for data import.

16.3.4.2 Syntax

getIRMImportFolder

16.3.4.3 Example

wls:base_domainserverConfig getIRMImportFolder

16.4 Test Content Commands

Use the WLST commands listed in Table 16–4 to set up test content for users of Oracle IRM Desktop.

16.4.1 addIRMTestContent

Online command that creates a new test content instance.

16.4.1.1 Description

This command creates a test content instance. Test content instances identify an item of test content, usually an image file. Test content is shown in a sealed document when Oracle IRM Desktop successfully connects to Oracle IRM Server through the client test facility.

16.4.1.2 Syntax

addIRMTestContenturi,localeKeys,testNames Table 16–4 WLST Commands for Test Content Use this command... To... Use with WLST... addIRMTestContent Create a new test content instance. Online getIRMTestContent Display details for an existing test content instance. Online getIRMTestContents Display details of all existing test content instances. Online removeIRMTestContent Remove an existing test content instance. Online updateIRMTestContent Update an existing text content instance. Online Argument Definition uri Specifies the URI of the test content for example, an image file. 16-14 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

16.4.1.3 Examples

The following example creates a test content instance comprising an image named exampleImage.jpg at http:irm.example.com, for use with English installations, and showing the name Test Content: wls:base_domainserverConfig addIRMTestContent\http:irm.example.comexampleImage.jpg\,\en\,\Test Content\ The following example creates a test content instance comprising an image named exampleImage.jpg at http:irm.example.com, for use with English and French installations, and showing the names Test Content en and Test Content fr: wls:base_domainserverConfig addIRMTestContent\http:irm.example.comexampleImage.jpg\,\en,fr\,\Test Content en,Test Content fr\

16.4.2 getIRMTestContent