Publish¶
Publishes the document to the specified folders and returns the current document instance.
1 | |
Publishes the document to the specified folders and returns the 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 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 | |
State property to Published and saves the document. If the folderPath argument is specified, the document will be attached to the specified folder or folders. The path can be a full path. If a specified folder does not exist, it is created automatically. After creating a new document, it is better to use this function instead of Document.Save(). This function saves the document in a folder where it can be accessed, rather than saving it in the system without an access point, as Document.Save() does. Publish a document to multiple folders¶
1 2 3 4 | |