Warning
Helix documentation is moving from docs.bmc.com to docs.helixops.ai

Key pages will redirect to the new domain on May 26, 2026. However, some legacy documentation links will not be redirected. 

In-product help links might not work after migration as we transition and update them within the product.

For any queries, reach out to IX-Support@helixops.ai.

Template - updateByDBKey


Template - updateByDBKey

Description :

This command updates the destination template using the contents of the source template. For information about the update process, see the introductory chapter Import and export concepts.

Return type : com.bladelogic.om.infra.model.template.Template

Command Input :

Variable Name

Variable Type

Description

srcTemplateDBKey

DBKey

Handle to the source template.

destTemplateDBKey

DBKey

Handle to the destination template.

Example

The following example gets a handle to the source template and a handle to the destination template. Then it updates the destination template.

Script


DBKEY_SRC=`blcli Template getDBKeyByGroupAndName /group2 newTemplate`

DBKEY_DEST=`blcli Template getDBKeyByGroupAndName /group1 oldTemplate`

blcli Template updateByDBKey $DBKEY_SRC $DBKEY_DEST



 

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

TrueSight Server Automation Command Line Interface 23.1