1 Reply Latest reply on Feb 3, 2011 9:34 AM by Naveen Anne

    Are there BLCLI commands to manage the content (assets) of a BLPackage

      Hi Everyone,

       

      I'm using Blade Logic 8.0.6.622

       

      I've set a deploy procedure with a BLPackage that has multiple assets.

       

      I want to use script commands to comment and uncomment assets in the BLPackage.

       

      Is it possible?

       

      Thanks,

      Eyal

        • 1. Are there BLCLI commands to manage the content (assets) of a BLPackage
          Naveen Anne

          Unfortunately, there are no calls to comment and uncomment assets within a BlPackage.

          Alternatively, you can do this:

          Create a new package in a temporary directory through the script with the assets you wish to deploy and Update your existing package with the temporary package. You can use the following blcli calls:

           

          1. Create Package (there are several create package calls; Be sure to use the one that caters to your requirements)

          2. updateByName / updateByDBKey - You can use either one of these calls to update your existing package with the new package you created in step#1

          3. deleteBlPackageByGroupAndName - Use this calls to delete the temporary package you created in step#1

           

          This should help you get the right contents into BlPackage everytime you want to deploy.

          Thanks

          1 of 1 people found this helpful