how a drop down menu is populated

dev_K
Tera Contributor

Hello,

 

 

How can I see how the dropdown is populated?

 

In my catalog item I have this dropdown that gets populated with options:

 

dev_K_0-1712903765294.png

 

Also, those options depend on the selected environment selected before:

dev_K_1-1712904322932.png

 

However after checking the catalog item variables I see that for 'security zone' field it is a select box (and not a reference field as I would expect that will just fetch options from a table)

 

dev_K_2-1712904391039.png

however, when i check the question choices there are none.

dev_K_3-1712904476503.png

 

 

How can I investigate how the dropdown is populated??

 

6 REPLIES 6

dgarad
Giga Sage

Hi @dev_K 

check any client script populates this value.

If my answer finds you well, helpful, and related to the question asked. Please mark it as correct and helpful.

Thanks
dgarad

dev_K
Tera Contributor

Besides the ones here:

dev_K_0-1712904892234.png

are there other client scripts that may populate the dropdown?

I ve checked the one listed here and I don't see anything that does it.

Only these client scripts work on the catalog. one of them populate value.

If my answer finds you well, helpful, and related to the question asked. Please mark it as correct and helpful.

Thanks
dgarad

dev_K
Tera Contributor

dev_K_0-1712905816643.png

what exactly is loadSecurityZones()? is that a script include?