4 Replies Latest reply on Jan 27, 2012 3:03 PM by Michael Meyers

    Error when trying to execute getDBKeyByTypeStringGroupAndName from CLI

      Hi,

       

      I'm trying to execute DepotObject getDBKeyByTypeStringGroupAndName using the CLI.  I'm running this command:

       

      DepotObject getDBKeyByTypeStringGroupAndName DEPOT_FILE_OBJECT "/CLI Package/Test" distribution.zip

       

      but I keep getting the following error:

       

      CLI Error : Failed to get command. Caused by : Unknown model type : DEPOT_FILE_OBJECT

       

      Any clue what I could be doing wrong?  We're using BladeLogic 8.0.  When I tried to get the dbkey for an NSHSCRIPT it worked.  I used:

       

      DepotObject getDBKeyByTypeStringGroupAndName NSHSCRIPT "/CLI Package/Test" test