Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to populate a Single Select List (menu) depending on another Field

Christos Moysiadis
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 7, 2019

Hello everyone,

i need your assistance because this issue drives me crazy.

Info: I have a Single Select List and i want to populate it with some values depending on the field "Account" (Tempo Plugin). It's obvious that having more than one Account this select list can not have the same options.

but nothing.

I was thinking if i can make it with the use of a map, but i am struggling to find out how to pass the values of a map to this custom field depending on the key (Account). eg.

  • Map <String, List> or something like 
  • def warehouseFromCompany = { "Account A": ["Loca1","Local2"],
    "Account B" : ["LocaX","LocaY","LocaZ"]}

Is this even possible? 

0 answers

Suggest an answer

Log in or Sign up to answer