Publish¶
Publishes the document to the specified folders and returns the current document instance.
1 |
|
Publishes document to specified folders and returns current document instance.
1 |
|
Parameters¶
string folderPath
The path of the folder(s) to publish the document to.
Returns¶
The current Document instance.
Remarks¶
This method changes the Document.State property to "Published" and saves the document.
If the folderPath
argument is specified, the document will be attached to the specified folder(s). The path can be specified as a full path. If a specified folder does not exist, it will be automatically created.
After creating a new document, it's better to use this function instead of just Document.Save(). This function will save the document in a folder where it can be accessed, and not just in the system without an access point like Document.Save().
Publish a document to multiple folders:¶
1 2 3 4 |
|
This method changes State property to "Published" and saves the document.
If folderPath argument is specified, document will be attached to a specified folder. Path can be specified as a full path. If a specified folder does not exist, it will be automatically created.
After creating a new document, it's better to use this function instead of just Document.Save( ). This function will save it in a folder where the document can be accessed, and not just in the system and saving without an access like Document.Save( ).
Publish a document to multiple folders.¶
1 2 3 4 |
|