Show / Hide Table of Contents

Class NSTemplateInfo

Information about a document template, i.e., a document that generally contains unresolved merge tags and that is used as the source for creating new documents.

Syntax

Constructors

NSTemplateInfo()

Initializes a new instance of the NSTemplateInfo class.

Introduced or updated in version: 7.5

Declaration
NSTemplateInfo

Methods

GetDescription()

Introduced or updated in version: 7.5

Declaration
String GetDescription()
Returns
Type Description
String

Document description, shown as a tooltip or in some extended description area.

Examples
NSTemplateInfo thing;
String description = thing.GetDescription();

GetExternalReference()

Introduced or updated in version: 7.5

Declaration
String GetExternalReference()
Returns
Type Description
String

Unique key that identifies the document so it can be retrieved.

Examples
NSTemplateInfo thing;
String externalReference = thing.GetExternalReference();

GetName()

Introduced or updated in version: 7.5

Declaration
String GetName()
Returns
Type Description
String

Name of the document, shown in lists etc to the user.

Examples
NSTemplateInfo thing;
String name = thing.GetName();

GetPluginId()

Introduced or updated in version: 7.5

Declaration
Integer GetPluginId()
Returns
Type Description
Integer

ID of plugin that stores this template, so it can be retrieved.

Examples
NSTemplateInfo thing;
Integer pluginId = thing.GetPluginId();

SetDescription(String)

Introduced or updated in version: 7.5

Declaration
Void SetDescription(String description)
Parameters
Type Name Description
String description

Document description, shown as a tooltip or in some extended description area.

Returns
Type Description
Void
Examples
NSTemplateInfo thing;
String description;
thing.SetDescription(description);

SetExternalReference(String)

Introduced or updated in version: 7.5

Declaration
Void SetExternalReference(String externalReference)
Parameters
Type Name Description
String externalReference

Unique key that identifies the document so it can be retrieved.

Returns
Type Description
Void
Examples
NSTemplateInfo thing;
String externalReference;
thing.SetExternalReference(externalReference);

SetName(String)

Introduced or updated in version: 7.5

Declaration
Void SetName(String name)
Parameters
Type Name Description
String name

Name of the document, shown in lists etc to the user.

Returns
Type Description
Void
Examples
NSTemplateInfo thing;
String name;
thing.SetName(name);

SetPluginId(Integer)

Introduced or updated in version: 7.5

Declaration
Void SetPluginId(Integer pluginId)
Parameters
Type Name Description
Integer pluginId

ID of plugin that stores this template, so it can be retrieved.

Returns
Type Description
Void
Examples
NSTemplateInfo thing;
Integer pluginId;
thing.SetPluginId(pluginId);
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top