Code snippets : Change the name of a vCloud Director organization

Sometimes the user interfaces are limiting you by design. The APIs are often more permissive and if you know what you are doing you can do great things.

Previously we showed you how to hot clone vCloud Director vApps. We even did a video tutorial for it. Now it is time to do something else the vCloud Director User Interface will not let you do : rename an organization.

My test org has my name so my colleagues know it is mine. For a demo I needed to rename it. I opened the organization properties and saw the read only organization name.

alt

In less then a minute I created a new workflow just doing this:

alt

Ran it.

alt

And voilà. Org renamed.

alt

Now there may be very good reasons not to do this on a production org such as the change of the URL to access this org.

Hopefully this can be usefull and can add one more bullet point to this article. All the item listed there and a lot more have been done with vCO already.