1 2 Previous Next 15 Replies Latest reply on Mar 3, 2016 6:34 PM by Bill Robinson

    Blcli Get Object ID/Object Type of a Depot Object

      Hi,

       

      i want to get the Object type of a Depot Object (Package). For example:

       

      (Package=> Desired Result)

      ----------------------------------------------------

      ProgramName_v.1.0.custom => CUSTOM_INSTALLABLE

       

      I know that there is the function getObjectTypeId (unreleased) but when I make a call like

       

      blcli_execute DepotObject $packagename getObjectTypeId

       

      I am getting an error like

       

      Command execution failed. com.bladelogic.om.infra.cli.factory.CommandNotFoundExc

      eption: Name space : DepotObject has no commands by name....

       

      I am new on this forum so I hope this isn´t a too stupid question for you

       

      Regards

      Murat

       

       

      ----------------------------------

      UPDATE

      ----------------------------------

      When I type the command

       

      blcli_execute DepotObject getObjectId

       

      I get the error message:

      Command execution failed. java.lang.IllegalArgumentException: java.lang.ClassCas

      tException@107e203

        1 2 Previous Next