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`
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Log in or register to comment.