Move the values from left to right in list collector variable which is slush bucket by default, when form is loaded.

santu
Kilo Explorer

Hello, I have a requirement to move the values from left to right in a list collector variable (which is slush bucket), when a form is loaded. I have tried different possibilities but no luck. Can anyone help me out?

10 REPLIES 10

santu
Kilo Explorer

Hello Manoj Kumar,

I have tried the code from these links but no luck. Could you please help me out to execute this?

Thanks,

Santhosh

Manoj Kumar16
Giga Guru

Please check whether this works for you-

1. go to dictionary entry of the list collector, add "glide_list" to the variable attribute

2. Add a client script--> On Load

function onLoad() {

g_form.setValue('collector','91e8bbf43710200044e0bfc8bcbe5daa,d9d04719c0a80a6426eb795cc87f5797'); // collector is the name of my list collector field in the form

}

 

Add the sys_ids of the records you want to show in the list collector in a comma separated format to make it appear in the right side.

It will give you this view-

find_real_file.png

 

But you can still add values:

find_real_file.png

santu
Kilo Explorer

Hello Manoj Kumar,

Thanks for the information but we don't want the variable in the form glide list, it should be in the form of slush bucket only. The code should be executed through slush bucket. In the slush bucket, those values should move from left to right automatically.

Could you please help me out for slush bucket?

 

Thanks,

Santhosh