Hi guy,
I have a sharepoint large list, it have more than 5000 items, when i try to receive and bind to dropdown list, i have some issues:
1. If i use sharepoint list services to receive list items, there are two case:
- If i don't use code handle on form loading, it was worked correctly
- When i use code handle (my form need use custom code on form loading handle) on form loading, it was getting error
The custom code in the form cannot be run. This functionality may be deactivated on the server. For more information, contact the server farm administrator.
Click OK to resume filling out the form. You may want to check your form data for errors.
2. When i try Rest Services to do with it, i was getting error : The remote server returned an error: (401) Unauthorized. The remote server returned an error: (401) Unauthorized. I've tried to disable loopback, but it still don't work.
3. When i try to receive list items and bind to dropdown list by custom code on form loading handle : it can work when i set rowlimit = 3000 to SPQuery, if rowlimit larger than 3000, i was getting error:
The custom code in the form cannot be run. This functionality may be deactivated on the server. For more information, contact the server farm administrator.
Click OK to resume filling out the form. You may want to check your form data for errors.
I've lost a few days for this issue but, any one can help me.
Sorry for my english is not good.
Thanks and regards,
Ho