List Box behaviour while loading screen

Hi Guys,

I am using Listbox to select multiple users. I have 3000 users in the list. While loading the screen it behaves as per below attached image . Basically this is a performance issue. Please let me know how can I avoid this issue. I don't want to see the list while loading. 

Thanks ,

Meena

Hello Meena,

I'ld suggest you to use this forge component: MutipleSelection.

It gives a better UX and less troubles.


Let me know if it helped,


Rodrigo Martinho

I have used Forge component: Multiple selection

once we select the values and save. Upon coming back to the screen previously selected values disappear.

How to retrieve the saved values. 

Meena Gajjela wrote:

Hi Guys,

I am using Listbox to select multiple users. I have 3000 users in the list. While loading the screen it behaves as per below attached image . Basically this is a performance issue. Please let me know how can I avoid this issue. I don't want to see the list while loading. 

Thanks ,

Meena

Hi Meena,

You can check the outcome here.

https://yogesh-satpute.outsystemscloud.com/MulitpleSelectListBox/Entry1.aspx?_ts=637183305437494682


Please let me know your looking for same.


Hope this will resolve your problem.

Good luck!


Solution

Meena Gajjela wrote:

I have used Forge component: Multiple selection

once we select the values and save. Upon coming back to the screen previously selected values disappear.

How to retrieve the saved values. 


Hello Meena,

So first you have to create a local varaible of type of the structure that commes with the MutipleSelection :https://prnt.sc/rfptz8, after that go to the webblock MutipleSelection thats on your screen and on the Optional Atributes bind the local there https://prnt.sc/rfpv7v.

Than on your preperation drag an assign and bind the input widget id to the ValueHolderInput structure atribute, followed by IsDefaultSelected put it as False and OptionValues bind it to the local type of Structure like this https://prnt.sc/rfpvoo.


Hope it helped, if so mark it as solotion so others find it faster :)


Cheers,


Rodrigo Martinho

Solution

Thanks so much everyone for your quick response. I got the selected values in my Usercombobox.

But I am facing the same issue while loading the screen the list will appear.  How to avoid the list while loading.



Thanks,

Meena





Hello Meena,

Thta's happening because your using an aggregate in your preparation to retreive the users list, so every time the screen is being built the aggregate will run and take time to fetch all the data, test with an advanced querry maybe it helps.


Rodrigo Martinho

Hi Martinho,


I am using Sql query to fetch the data. However I am facing the same issue while loading the screen.

Thanks