mapping Service Dialog elements to override the defult values from the service catalog item #23666
Unanswered
Ramy-Gamal
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’m trying to let users order a service catalog item on OpenStack using their own custom values.
I’ve already added the provider, connected it to OpenStack, and created a service catalog item to deploy a RHEL 9 VM. To make it visible, I attached it to a dialog so users can enter the required variables without exposing the backend details.
My challenge is: I want to change some default values like the tenant, VM count, description, network, etc. However, I can only change the VM name using the “vm_name” field. I tried using fields like “cloud_tenant”, “cloud_tenant.id”, “cloud_tenant.name”, and “cloudTenantName”, but none of them changed the selected tenant.
I also want to show users only the tenants they have access to, but I’m not sure how to populate that list dynamically.
Can anyone help or share resources to better understand this? Do I need to start writing Ruby methods for this? If yes, where should I begin?

Beta Was this translation helpful? Give feedback.
All reactions