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

How to remove options variable

vikasgc1999
Tera Expert

I want to remove options variable in service catalog item.

We have one variable like classification in that variable we have 6 variable we need to make 2 columns in one column we have 3 checkboxes but I am getting system outbound  variable like "options"

  • I want to remove that options variable in both columns
10 REPLIES 10

Ashir Waheed
Kilo Sage

Hi @vikasgc1999 

 

It would be more helpful if  you can provide more context about it.

 

1. If its the variable that's not required and will not be used then you should probably remove it from catalog variable tab. You can also use the UI policy to Hide that variable.

 

2. If it's the Option Variable like Select option then you can sue the Onload Client Script:

g_form.removeOption("fieldName", "choiceValue");

 

Regards,

Ashir Waheed

Screenshot_20231128_014043_Chrome.jpg

Hi @Ashir Waheed  check with that above image 

This is what happens by default when you group a bunch of checkboxes together and don't have a label variable before it. I'm guessing splitting into two columns caused this. You may want to create a new label variable in the second column.