Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant read all items. #100

Open
mattehalen opened this issue Aug 28, 2021 · 0 comments
Open

cant read all items. #100

mattehalen opened this issue Aug 28, 2021 · 0 comments

Comments

@mattehalen
Copy link

mattehalen commented Aug 28, 2021

We have an excel file with around 1000 rows and I just say that all rows are NOT read.
It now gives me ... 400 more items.

So my question is can I read all items in the excel file?

function getData(){

    return spauth.getAuth(url, {          
        username:username,  
        password:password  
    })  
    .then(function(options){  
        // Headers  
        var headers = options.headers;  
        headers['Accept'] = 'application/json;odata=verbose';  
        // Pull the SharePoint list items  
        return requestprom.get({  
        url: url,  
            headers: headers,  
            json: true  
        }).then(function(listresponse){
            var items = listresponse.d.results; 
            console.log(items);

                }
            })
        });  
    });
}

After some more research I found that I can only read the first 500 rows.
Don't know if the limitation is here or Office API and no idea how to get around it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant