I have developped a plugin based on the Demo Plugin.
When Milestone call the following function “public override ACCredentialHolderSearchResults SearchCredentialHolder(string searchString, int searchLimit)” to get datas from my Access Control System, it doesn’t work to get more than 10000 cards.
It works well for 10 000 cards but it seems to be a limit of size or a timeout because first it displays “Search in Progress” and then “Search Failed” when I click on my CardHolder tab in my Access Control Module.
The returned array is quite heavy because it contains all pictures so I think it’s more a problem of size than timeout !!
After Milestone Development analyzing the code, we have seen that there’s no constraint on the number of results.
For instance the developer sent a request of 50K(more than 10K), and then the response that he received was all the cardholders.
There is no 10K constraint on the card SearchCredentialHolder.
Additionally, he checked 2 more things;
Timeout => This webService has configured a timeout of 5 minutes;
MaxSize => 476.837158203125 MB
So, when you mention “The returned array is quite heavy because it contains all pictures”, he started to check how works our DemoACPlugin + DemoACServerApplication.
He’s seen is that in the DemoACServerApplication we are not returning the picture in the SearchCredentialHolders method. We’re retrieving the picture one by one, as soon as the user clicks on the cardholder from the Management Client.
So, it can be that you have extended your plugin to retrieve the pictures in the search method, and due to that you are having this issue with timeouts (5m).