Skip to content

New

Creates a new document in the repository and returns a document instance.

$Documents.New(title: string, contentType?: string):Document (Document)

Parameters

string title
    The title of the document.

string contentType optional
    The content type of the document.

See Also