Save¶
Saves the changes to the document and returns the current document instance.
1 |
|
Returns¶
The current Document instance.
Remarks¶
When creating a new document with $Documents.New
, it will be in the "Draft" state until you use a method to save it. However, Document.Save will save the new document to the repository but not in a specific folder (it will be in the system but not shown anywhere). If you want to save the new document to be able to access it from a specific folder, see Document.Publish.
In conclusion, this method is best used for changes made to an already existing documents, and for saving the new documents, you should refer to the Document.Publish method.
Creating a new document, publishing it, making some changes, and saving the changes:¶
1 2 3 4 5 6 |
|