The CreatorCon Call for Content is officially open! Get started here.

Service Catalog Variables Order Issue

Sree Gorantla
Tera Contributor

Hi,

I created a new service catalog with 7 variables and 3 variable sets. I have given the order value to all variables and also went into each 'variable set' and given the order for the variables under that variable set. But am running into the issue that variables are not appearing on the form as per the order value. 

Below is the order i gave for variables and variable sets. Even though the order(805 to 875) for variables under variable set "meeting support questions" is higher than the individual variables (150 to 210),on the form the variable set variable with order 805 to 875 appearing at the top.

Did anyone faced the same issue, if so how can we fix this.?

find_real_file.png

find_real_file.png

find_real_file.png

 

4 REPLIES 4

Alikutty A
Tera Sage

Hi,

What is the layout of your variable set? Can you try adding container start and end within your variable set and see if it works?

Thanks

Uncle Rob
Kilo Patron

Its not broken.  Variable set has an order of its own which is compared against other variables.  Where ever it falls in that order it will render its variables in a solid block according to their order within the variable set.

Example:
Variable Set "Rotissery Chicken" has an order of 0 with the following variables.
- Setvar1 - 300
- Setvar2 - 350
- Setvar3 - 400

Place that variable set alongside the following variables....
- Var1 - 100
- Var2 - 200
- Var3 - 250

And you'll get....

Setvar1
Setvar2
Setvar3
Var1
Var2
Var3

... because your variable set's order is higher than your other variables.  

Hi Robert,

Thanks for the reply ! My variable-set "varset1" has order 230. And setvar1 (100), setvar2(101) and setvar3(102) are the variables in variable set "varset1"

other variables var1 (150), var2 (160) and var3 (170)

So am expecting form to be as per your explanation as below ?

var1

var2

var3

setvar1

setvar2

setvar3

 

But am seeing form as below:

setvar1

setvar2

setvar3

var1

var2

var3

 

Sree Gorantla
Tera Contributor

Hi Robert,

Thanks for the reply ! My understanding is variables on the form appear from lower order value to higher order value, but your above example shows the variables under variable-set appear at top even though they value order value is higher. This is strange

I tried setting the order for variables in variable-set lower than the other 'non variable set' variables. But still the the variables under variable-set "meeting support questions" appearing at top. Can you please help me fix this ?