Autocomplete Control using ADUser Smartobject hangs


Userlevel 3
Badge +16

Hi,

 

I'm trying the Autocomplete control to use as a lookup for users in Active Directory.

 

So i've setup the Autocomplete control to use the AD User Smartobject and lookup on Name.

 

When the form loads, you get the spinner which never stops. There is likely 60K+ objects, so is there any way of speeding this up?


3 replies

Userlevel 5
Badge +16

Hi Sharpharp1,


 


You should disable the populate action in the initialize event and enable live search for the the autocomplete control.


 


Have a look at the control properties :


 


https://help.k2.com/onlinehelp/k2smartforms/userguide/4.7/default.htm#Auto-Complete_control.htm


 


UPDATE:


 


To enhance the performance, try to increase the minimum length property and the delay.


 


You can also try the Picker Control.


 


 

Badge +10

Make sure when you check the AD Properties, that not all the properties are selected. only select the absolutely necesary, like Display Name, Email, Account.

 

This way will not look for everything in AD and only what you need will be really fast.

 

Hope this helps

 

Dino.

Userlevel 3
Badge +16

All the properties set to NAME and DISPLAY NAME only, still slow

Reply