UpgradeModelObjectsJob - removeTemplateFromJob

UpgradeModelObjectsJob - removeTemplateFromJob

Description :

This command removes a template from an existing Upgrade Model Objects Job.

The jobKey argument is a DBKey that refers to the job you want to modify. The templateKey argument is a DBKey that refers to the template you want to remove from the job.

This command returns a handle to the updated job. Note that this handle is different than any existing handle to this job. All older handles are invalid.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

jobKey

DBKey

Handle to the job.

templateKey

DBKey

Handle to the template.

Example

The following example shows how to remove a template from an existing Upgrade Model Objects Job.

Script





JOB_KEY=`blcli UpgradeModelObjectsJob getDBKeyByGroupAndName /group1 upgrade_co_job` 

TEMPLATE_KEY=`blcli Template getDBKeyByGroupAndName /group2 template1` 


JOB_KEY=`blcli UpgradeModelObjectsJob removeTemplateFromJob $JOB_KEY $TEMPLATE_KEY` 



Was this page helpful? Yes No Submitting... Thank you

Comments