Quantcast
Channel: Microsoft Online: SharePoint Online forum
Viewing all articles
Browse latest Browse all 10096

Odata Comparion request

$
0
0

My SharePoint environment has 2 lists.  One list has 79 columns.  I am trying to put together an ODATA query that will compare the values in each of the 79 columns in a row, with another list that has a single column with multple values.  The odata request I put together looks something like this:

/Items?$select=DocURL,Menu_x0020_Item_x0020_String,Station,ID,Market&$filter(substringof('100',Menu_x0020_Item_x0020_String) or substringof('101',Menu_x0020_Item_x0020_String) or substringof('102',Menu_x0020_Item_x0020_String) or substringof('103',Menu_x0020_Item_x0020_String) or substringof('104',Menu_x0020_Item_x0020_String) or substringof('105',Menu_x0020_Item_x0020_String) or substringof('106',Menu_x0020_Item_x0020_String) or substringof('107',Menu_x0020_Item_x0020_String) or substringof('108',Menu_x0020_Item_x0020_String) or substringof('109',Menu_x0020_Item_x0020_String) or substringof('111',Menu_x0020_Item_x0020_String) or substringof('112',Menu_x0020_Item_x0020_String) or substringof('113',Menu_x0020_Item_x0020_String) or substringof('114',Menu_x0020_Item_x0020_String) or substringof('115',Menu_x0020_Item_x0020_String) or substringof('116',Menu_x0020_Item_x0020_String) or substringof('117',Menu_x0020_Item_x0020_String) or substringof('118',Menu_x0020_Item_x0020_String) or substringof('119',Menu_x0020_Item_x0020_String) or substringof('120',Menu_x0020_Item_x0020_String) or substringof('121',Menu_x0020_Item_x0020_String) or substringof('122',Menu_x0020_Item_x0020_String) or substringof('123',Menu_x0020_Item_x0020_String) or substringof('124',Menu_x0020_Item_x0020_String) or substringof('125',Menu_x0020_Item_x0020_String) or substringof('126',Menu_x0020_Item_x0020_String) or substringof('127',Menu_x0020_Item_x0020_String) or substringof('128',Menu_x0020_Item_x0020_String) or substringof('129',Menu_x0020_Item_x0020_String) or substringof('130',Menu_x0020_Item_x0020_String) or substringof('131',Menu_x0020_Item_x0020_String))

This isn;t the exact query, but I get a 404 error if I try to add more than 32 'substringof' parameters.   Is there a hard limit on the number of parameters accepted by the API?  Is there an easier way to query 79 values against one column?  


Viewing all articles
Browse latest Browse all 10096

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>