PublishProductCatalogJob - getDBKeyByGroupAndName


PublishProductCatalogJob - getDBKeyByGroupAndName

Description :

This command returns the handle for a PublishProductCatalog Job. You must identify the job group where the job is stored and the name of the job.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

parentGroup

String

Fully qualified path to the job group where the job is stored.

jobName

String

Name of the PublishProductCatalog Job.

Example

The following example shows you how to get the DBKey of an existing PublishProductCatalog Job.

Script


# Name of the existing PublishProductCatalog Job.

PUBLISH_PRODUCTCATALOG_JOB_NAME="PublishProductCatalogJob1"

# Job group in which the PublishProductCatalog Job is stored.

PUBLISH_PRODUCTCATALOG_JOB_FOLDER="/parent/group1"

# Get the PublishProductCatalog Job DBKey using the above information.

PUBLISH_PRODUCTCATALOG_JOB_DBKEY=`blcli -v bl_app_profile -r bl_app_userRole   PublishProductCatalogJob getDBKeyByGroupAndName $PUBLISH_PRODUCTCATALOG_JOB_FOLDER $PUBLISH_PRODUCTCATALOG_JOB_NAME`



 

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