Information

This site will undergo a brief period of maintenance on Thursday, 23 April at 2:30 AM Central/1:00 PM IST. During a 30 minute window, site availability may be intermittent.

Template - getTemplateIDByName


Template - getTemplateIDByName

Description :

This command returns a template ID. You must provide the template name and parent group.

Return type : Integer

Command Input :

Variable Name

Variable Type

Description

templateName

String

Name of the template.

templateGroup

String

Fully qualified name of the template group.

Example

The following example gets the ID of a template:

Script


TEMPLATE_GROUP="/parent/group1"

TEMPLATE_NAME="template1"

TEMPLATE_DBKEY=`blcli Template getTemplateIDByName $TEMPLATE_NAME $TEMPLATE_GROUP`



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

TrueSight Server Automation Command Line Interface 23.2