MRVS variables dependent on catalog item variable

hanaphouse
Tera Guru

How do I make Virtual Network dependent on the selected Azure Subscription in the catalog item if I have the configuration below?

We have a combination of variable and multi-row variable set.

  • Azure Subscription is a lookup select box using [cmdb_ci_azure_subscription] table
  • An multi-row variable set with the following variables:
    • Virtual Network is a lookup select box using [cmdb_ci_network] table
    • Subnet is a lookup select box using [cmdb_rel_ci] table

 

Here's how it looks like:

find_real_file.png

 

 

6 REPLIES 6

Zach Koch
Giga Sage

Unfortunately you cannot use selections in the MRVS to make another field outside of the MRVS dependent.  Here is a link to the docs page so you can read about the limitations of MRVS, but I will also post a screenshot to the part that is relevant to your question.

MRVS Docs

find_real_file.png

If this solved your issue, please mark this correct and helpful, thanks!

How did you go about achieving this need and overcoming the limitations?

I was playing around with SessionStorage where on the form I will store using .setItem then on the MRVS, i will invoke .getItem. However, SessionStorage has its limitations too.

Any other solutions?

I have was not able to come up with a solution to this particular limitation, so I'm not able to offer any more advice.  In my use case, we were able to reformat the form a little bit and were able to achieve the desired outcome without relying on the MRVS choice.