VMware Cloud Community
SamWolf
Enthusiast
Enthusiast

Catalog creation in VCO 5.5

Hello,

I have been updating some VCO 5.1 code to 5.5 and I am struggling to find the means of catalog creation in 5.5

In the past I leveraged (com.vmware.library.vCloud.Admin.Catalog).createAdminCatalog but I am unable to find the comparable call in 5.5

Some direction for this would be great.

Thanks,

0 Kudos
1 Reply
qc4vmware
Virtuoso
Virtuoso

They have an action that comes with the plugin com.vmware.library.vCloud.Admin.Catalog.createAdminCatalog

It shows this as the code:

var adminOrg = organization.toAdminObject();

var params = new VclAdminCatalogParams();

params.name = name;

params.description = description;

params.isPublished = published;

var result = adminOrg.addAdminCatalog(params);

organization.updateInternalState();

return result;

I'm not sure why you aren't seeing it in yours.  Did you just recently upgrade?  Maybe you haven't yet restarted the services? Sometimes you end up needing to force the plugins to reinstall.  Might be that is needed.

0 Kudos