Click or drag to resize

ApiSessionCreateDocument Method (ObjectProxy, String, String)

Creates a new Document object as child of the given parent

Namespace:  Articy.Api
Assembly:  ArticyApp (in ArticyApp.dll) Version: 1.0.0
Syntax
C#
public ObjectProxy CreateDocument(
	ObjectProxy aParent,
	string aDisplayName,
	string aTemplateTechName = null
)

Parameters

aParent
Type: Articy.ApiObjectProxy
the parent object (must be the Documents folder or a user-folder within)
aDisplayName
Type: SystemString
the title of the document
aTemplateTechName (Optional)
Type: SystemString
the technical name of a templte the newly created object should get, nullif no template should be set.

Return Value

Type: ObjectProxy
a new object with type 'Document'
Remarks
the parent object must be claimed
See Also