How to pre-populate the "Selected" section of Swapbox

Hi Experts,

Could someone let me know the way to pre-populate the “Selected” section of the swapbox ? At my end i have tried to implement it and found some strange behavior . The value for the swapbox was bound to List which basically would hold the user Displayname . So to acheive this pre-populating of the Swapbox , had a IS Service which would retreive me list of users , bound this output to a Provider . Later on basis of content of Provider , had this List populated , but somehow fail to see the value in the “Selected” section of swapbox. Can somone tell me if iam going wrong anywhere ?

Thank you in advance.

Regards,
Nischal

Hi Nischal,

Please find attached a sample that works for me.

Let me know if it helps you.

Hope it helps,
Vlad Turian
MultipleSelectListPortlet.zip (16.4 KB)