When there is many customers registered to the website, the commerce manager -> contacts tabs is default to display only the X no. of contacts as specified in the
If the customers are more (ex: 50000+) then if we increase size in this config the contacts tab takes more time to load.
We are looking for some alternate solution to handle this without any performance drawback in commerce manager.
Why do you want to show more than 50000 contacts?
More than that, my site is growing day by day.
That is normal, we have over 0,5M contacts. The question is why would you want to LIST more than 50000 of them at the same time?
By default it shows 1000 customers (maxListObject). If we have more than that, the contacts tab will not show them all. So we need to increase the maxListObject object to some max value to suite website customers.
Even if there is pagination, the moment we increased the maxListObject (to more than 50000 or 1M), the contacts tab is slow.
What use case do you have that requires the commerce manager to show all customers at once?
We are not showing all customers at once. We view then page by page only. It shows only maximum of customers which is configured in maxListObject (ex:maxListObject =1000, if 100 customers per page than it shows 10 pages. If we have 2000 customers it will not show the rest of the customers until i increase this config.). If we want client to access any customer beyond that limit, we need to increase this config which ends up in performance issue. Is that what expected from me?
We will probably look into this, but I can't promise anything just yet. Big changes to the customer system will not be prioritized, but if I can find a small, "smart" way to solve the problem I might be able to sneak it into our releases, who know.
Will keep you posted.
Thanks Quan Mai
As promised that I will keep you posted - this is happening. Today I made a breakthrough that actually works. Some polishing and clean up and a lot of test will be needed, but it might eventually make it in a upcoming release :)
Very Good news !! Thanks Quan!
It will be released soon in Commerce 12.11 https://world.episerver.com/blogs/Quan-Mai/Dates/2018/10/new-paging-mechanism-for-business-foundation/
Commerce 12.11 is available now on the Nuget server.