Forum Discussion

jsangerman's avatar
jsangerman
Icon for Helper II rankHelper II
1 year ago
Solved

Expanding multiple SharePoint people columns is very slow

I am working with a SharePoint list that has about 10,000 items. Five of these are personcolumns that I need to get UserID from, and doing so is very slow. In total, my query is taking over an hour t...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi jsangerman ,
    Based on your description, first of all on how to load the user information list separately, I checked some documentation on how to access the SharePoint user information list by navigating to “/_catalogs/users/simple.aspx” from your site via your browser. This assumes you are a SharePoint administrator.
    SharePoint User Information List (Hidden List) - Enjoy SharePoint
    Use the REST API to get the data in the user information list. The example is as follows:
    GET https://<your-sharepoint-site>/_api/web/siteusers
    This will return information about all users, including user IDs, logins, emails, and more.
    If you don't want to load a list of user information, you can try building a correlation table for lookups and links based on the “_attributename_value” field as mentioned in the following post, instead of “expanding” the attributes in the record.

    Solved: Refresh very slow when using SharePoint people pic... - Microsoft Fabric Community

     

    Best regards,
    Albert He


    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly