Skip to content

command import

Ryan Newington edited this page May 27, 2016 · 1 revision

<command> element (object import)

When used during an object import operation, the <command> element supports the following additional attributes

XML Attribute Description Allowed Values
result-has-objects Optional. A value indicating whether the stdout from the command contains objects for extraction and import by the MA true or false

Note: At least one command on an import operation must have the result-has-objects value set to true.

Value Declarations

The command text cannot contain any [value declarations|value declaration] during an import operation.

Example

<command result-has-objects="true" success-codes="0">cat /etc/passwd</command>

The example above executes the command and stores the results of command output for processing later by the import engine.

Clone this wiki locally