TemplateGroup - createGroupWithParentName
TemplateGroup - createGroupWithParentName
Description :
This command creates a component template group as the child of a parent group that is identified by name. The parent's name must be fully qualified, such as /BLDeploy/WebApps.
This command returns the ID of the newly created group.
Return type : Integer
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
groupName | String | Name of the template group to be created. |
parentGroupName | String | Fully qualified path to the parent template group. |
Example
The following example shows how to create a template group inside another template group:
Script
PARENT_GROUP="/parent"
TEMPLATE_GROUP1="group1"
# Now create new group
TEMPLATE_GROUP1_ID=`blcli TemplateGroup createGroupWithParentName $TEMPLATE_GROUP1 $PARENT_GROUP`
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*