Hi!
Is ist possible to get the Default (Admin) URL of an vCD Org with Orchestrator? I can't find the attribute..
Thx
You can obtain it by using plug-ins into the api. Have a look at the link below on how to obtain this information
VMware vCloud Director Documentation Center
Maxel,
Based on the following URL http://www.virtuallyghetto.com/2011/12/leveraging-vcd-vco-wavemaker-part-1.html you can obtain the URL of the Organization by using the knowledge that we know of how the URLs are formated (e.g. they always are https://vcloud_directory_url/cloud/org/some_org_name).
var org = some_org;
var vcdHost = org.parent;
var vcdUrlWithoutPort = vcdHost.url.split(":443")[0];
orgUrls = vcdUrlWithoutPort + "/cloud/org/" + org.name + "/";
In this code we take an organization object and pull the host object of the organization, we then get the URL for the host, add on the "/cloud/org/" and then append the organization's name to the text.
Unfortunately, I don't have an environment up and running at the moment to test/verify this method.
Hi!
Yes, thx, that's the way we do at at the moment. But i thought there is an variable for that...
I do not think there is a property. You can use the href property and truncate it at /api and add the org name there.
Oh I did not see the previous reply. Funny the code above is something I wrote for William