Import File As Embedded File

Imports any file and embeds it into the active collection.

 

Input Arguments

 

0

File Path or Embedded File

External File Name

The name of the file to embed.

1

Boolean

Replace Existing?

Specifies whether the imported file will replace an existing embedded file with the same name.

Return Arguments

None.

 

Returned Status

 

SUCCESS

The file was successfully imported.

FAILURE

The source file could not be found.

Remarks

This command supports both absolute paths (ex. C:\test.xit ) and relative paths (ex. .\test.xit ). If a relative path is provided and the MP is embedded, the path will be relative to the current SA file location.