template (Java class ItemTemplateFile)

Retrieves a file from Document Management given a template entity name and template name. Using the template functionality when referencing a document in Document Management is more convenient than writing an XQuery. Note that the template functionality in Document Management is not directly related to layouts.

Attribute name Value Type Description
type "template" string The file object type
templateEntityName Example: MyDocumentType string Document type
templateName Example: MyTemplate string Template name

This is an example of this input type in JSon:

{
    "type": "template",
    "templateEntityName": "MDS_File",
    "templateName": "MyTemplateName"
}