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

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

few points:

 

if you want to use slush bucket then on portal it won't work. 

if you are only implementing it on native UI then below blog will help you, make sure you set "isolate script" as false on your catalog client script 

 

https://www.servicenowguru.com/scripting/client-scripts-scripting/move-list-collector-options/

Hi Harshavardhan,

We need the slush bucket implementation in Native UI but service portal.

I have tried the script from this blog but it is not working.

 

Thanks,

Santhosh

 

did you check "isolate script" as false on your catalog client script ? can you add screenshot of your catalog client script ? 

Hi Harshvardhan,

 

I have made the "isolate script" to false but still not working. Please check the attached script for your reference.

Thanks,

Santhosh

can you add alert() to validate the length ?

eg:

 

alert(selectedOptions.length);