8 Replies Latest reply on Oct 4, 2012 6:21 AM by Rupesh Gaikwad

    setPropertyValueByName does not work for complex type

      Hi,

      I am trying to update some custom properties from command line by using blcli.

      We can update simple properties where string values are required.

      Example:

      command ->  blcli -v testprofile -r BLAdmins Server setPropertyValueByName test01.testenv.local CUSTOMER TEST ( Works correctly).

       

      Command->  blcli -v testprofile -r BLAdmins Server setPropertyValueByName test01.testenv.local PROXY_LOCATION LION ( does not work, we have LION defined as complex type and PROXY_LOCATION is editable)

       

      Error is : Command execution failed.  com.bladelogic.om.infra.mfw.util.BlException: instance LION specified in incorrect syntax.

       

      I have tried all possible things, like setting up by using with bulkAddServers, addPropertyValue etc. Nothing seems to work. Already gone through community posts, no resolution still

       

       

      Please suggest.

       

      Best regards,

      Rupesh