The Infor Communities is globally accessed system by
Infor and its customers, please do not post or upload
any content that could be deemed as sensitive, confidential or
subject to any data regulation requirements.
If you are unsure whether or not the content contains sensitive,
confidential or has any data regulation requirements,
please seek the advice of your internal security, legal, and compliance experts.
I created a custom list using CMS010 and CMS015, I thought the list was working correctly until the return results were greater than 1000. I'm not sure why this is happening, How can I edit the allowed number of record received by an API?
Hi, In CMS015/E, there is a field (MXRE) for the max record return. By default, it's 1000 and the max value is 9999.
What is a CMS010 and CMS015 ?
Those are the H5 panels that allow you to create/modify custom lists.
Hi Jean, Default setting is 1000 which you can modify to the amount required. I haven't used M3 in a while but I think its in either CMS010 or CMS015.
Also, I assume you've created a custom API similar to a 'list' (as opposed to a 'get'). If the result you want is the first record only, then I believe you can extract that record by a setting in the custom API created.
Where is that default? Nothing in the CMS panels suggests that it controls the amount of records received.
I did create a custom API resembling a list rather than a get, The result I want is the whole list because that list is driving an H5 application.
Also note that 9999 limit you can put in that maxrecs field. If the data you're after is beyond that, say that 10,001th record, you won't get it.
Also - do not use maxrecs=0 as this may make the API finish after a longer period even if there's only 1 or so records.
Infor provided me with a patch to get records beyond 10,000 so it is possible but you'll have to push them for it.
Thank you Yoann, I went back to CMS015 and scrolled all the way down and saw that unpopulated field. Once I changed the value all records were coming in.