VMware Cloud Community
lshgfksahkjashg
Contributor
Contributor
Jump to solution

value of config items (array/string) set programmatically are not visible

hi folks,

I set a configuration item with the following code:

var elemCategory = Server.getConfigurationElementCategoryWithPath("bliblablu");

var elem = null;

if (elemCategory != null) {

     for (var i in elemCategory.allConfigurationElements) {

          if (elemCategory.allConfigurationElements[i].name == "variables") {

               elem = elemCategory.allConfigurationElements[i];

               break;

          }

     }

}

elem.setAttributeWithKey("test", new Array("1", "2"));

Then in the configurations pane the type of the attribute "test" is Array, instead if Array/string.

And the values set are not visible (although they are there...)

vro_config_items_pane.png

VERSION: vRO 7.3

Any hints?

Cheers

Roland

1 Solution

Accepted Solutions
iiliev
VMware Employee
VMware Employee
Jump to solution

Hi Roland,

I think this is a known issue (or limitation) of the current vRO client. I recall there were similar reports for other vRO versions.

Anyway, the main focus of vRO client developers is now shifted to the new HTML5 client, so I don't think they will spent efforts to fix this problem in the current vRO Java client.

View solution in original post

1 Reply
iiliev
VMware Employee
VMware Employee
Jump to solution

Hi Roland,

I think this is a known issue (or limitation) of the current vRO client. I recall there were similar reports for other vRO versions.

Anyway, the main focus of vRO client developers is now shifted to the new HTML5 client, so I don't think they will spent efforts to fix this problem in the current vRO Java client.