11 Replies Latest reply on Nov 4, 2011 11:58 AM by Bill Robinson Branched to a new discussion.

    Can't access 'anonymous' components via blcli



      I'm not able to access anonymous components via the blcli but can in the GUI. I want to write an nsh script to delete components that were created by BlPackage.importServerObjectToPackage (which calls Component.CreateAnonymousComponent). None of these commands find anonymous components:


      Component findAnonymousByTemplateAndServer $TEMPLATE_KEY $SERVER_ID

      Component getAllComponentKeysByTemplateKeyAndServerId $TEMPLATE_KEY $SERVER_ID
      Component getAllComponentKeysByTemplateKey $TEMPLATE_KEY
      Component findAllByTemplateAndServer $TEMPLATE_ID $SERVER_ID


      I would have thought findAnonymousByTemplateAndServer should do it but no.


      Any thoughts?


      I'm using BladeLogic CM