OSLC returning only 50 work items per page in EWM (7.0.2)
I have seen posts that point out a setting to change this. But, that does not seem to work. I have searched all the advanced settings and could not see where the limit was set to 50. There is a limit set to 1000 for Max Query Result Set Size. The return has the following:
2 answers
This is called paging and, as far as I am aware, is documented in the OSLC API documentation. Paging is also used in other not OSLC APIs. Pretty much every API supports some kind of paging to help with scalability. You should look up the documentation for your API and read up on paging.
What I have found about paging used in OSLC querying can be found here: https://rsjazz.wordpress.com/2022/02/22/ewm-oslc-query-api/ I think I remember there was something about the next page being URL Encoded. I am not sure any more, if you can change the page size.
Comments
Hi Ralph,
Also, would like to know if can configure to get around this and set the limit high enough where paging is not an issue. I only have to run this script once, so not concerned about performance. Will reset back to original value after script runs.
Comments
Brad Morse
Jul 13 '23, 1:09 p.m.Also would like to know if the total limit is 1000 with 50 page limit and the actual results would be greater than 1000, how do I get to those over 1000?
Brad Morse
Jul 13 '23, 1:11 p.m.Is the OSLC approach just too cumbersome to consider using and the Java REST API should always be used instead?
Brad Morse
Jul 13 '23, 1:29 p.m.Also when posting the nextPage (which is basically the same URL except startIndex increased by 50) it actually changes it back to the first page (startindex=0).