locked
Fetch all / huge number of SharePoint List from CSOM Load Query RRS feed

  • Question

  • My SharePoint website contains more than 1lakh lists. When I tried to execute below it throw time out error.

    Environment : C# CSOM

      Context.Load(
                        collList, lists => lists.Include(
                        list => list.Title, list => list.BaseType, list => list.BaseTemplate, list => list.ImageUrl, list => list.ParentWebUrl, list => list.Id, list => list.LastItemModifiedDate, list => list.Created, list => list.DefaultView, list => list.DefaultViewUrl, list => list.Author.UserId, list => list.Author.UserPrincipalName, list => list.Author.Title, list => list.ParentWeb, list => list.ParentWeb.Author.UserId, list => list.ParentWeb.Author.UserPrincipalName, list => list.ParentWeb.Author.Title));

    Let me know is there any way to fetch all list object recursively.


    • Edited by Amit1012 Thursday, September 24, 2020 11:36 AM
    Thursday, September 24, 2020 11:35 AM

All replies