moveDoc script operation
Move this document to the specified sPath in the docstore. If the path ends with a '/' it is assumed that the doc needs to be moved to the specified directory with the same doc name as the source.
Format: ObjectOriented
Type: method
Syntax
Doc Doc::moveDoc(sPath)
Parameters
| Type | Name | Description | Is required? | Is array? |
|---|---|---|---|---|
| Doc | operatesOn | The document to be moved. | true | false |
| String | sPath | The document is moved to the position given by this path. | true | false |
Return values
Return value: Doc
Is array: false