template (Java class ItemTemplateFile)

Retrieves a file from IDM given a template entity name and template name. Using the template functionality when referencing a document in IDM is more convenient than writing an XQuery. Note that the template functionality in IDM 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"
}