Skip to content

New

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

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

Parameters

string title
    The title of the document.

string contentType
    The content type of the document.

See Also