I have been working on a catalog with optionlists and inputs.
Currently in the morpheus environment we have one VMware cloud, however we will be deploying to a morpheus environment with mulitple clouds, so I want to verify that all the custom options in the catalog are working.
The only issue I’m having is if I change the cloud id to the customoptions.selectcloud, my plans list disappear on the catalog form so it’s empty.
If I leave it hardcoded to 1 everything works.
Just to check the outputs, I have added the customoptions.selectedcloud under customoptions and ran a ansible workflow and can see it being listed as ‘1’
I wondering whether it’s being pedantic and not liking ‘1’ and only accepting “1”
Any ideas why the plans entry would go blank when changing the id to customoptions input?
Description (A note to myself on this object):
needs to have siteId + zoneId (layoutId OR provisionTypeCode can be used for futher filtering and they will be pulled from catalog item config if hardcoded)
Translation:
for (var x = 0; x < data.length; x++) {
results.push({name:data[x].name, value:data[x].id});
}
Yep a catalog in the master set to visible works fine.
It’s more if I deploy a catalog directly into a subtenant, so that subtenant has all the optionlists/inputs etc.
I don’t see plans etc when changing the catalog config for cloud id to the custom options.