Skip to content

Rest API – threshold limit error for lookup columns

August 12, 2020

To get all fields internal names:

https://web.com/sites/sitename/_api/lists/getbytitle(‘List Title’)/fields

To get people or group internal names:

https://web.com/sites/sitename/_api/lists/getbytitle(‘List Title’)/items?$select=Title,ProjectLeads/Id&$expand=ProjectLeads/Id

If you get threshold limit error for lookup columns use “?$select=Title,Id”  at end if them url:                                                                                                                                                        var queryUrl = Url + “/_api/lists/getbytitle(‘Dynamic Briefs’)/items?$select=Title,Id”;

 

 

Advertisement

From → Rest API

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: