sharepoint online – How does the OverrideViewXml parameter work with ViewXml in RenderListDataAsStream in the rest API?

I'm working on getting data from the SharePoint list using the RenderListDataAsStream endpoint.
I first get all the views defined for the list and display them in a drop-down menu on the user interface. The user then selects the view

  • I get the ListViewXML for this view
  • Create a custom filter query like ...

and then pass this ListViewXML as ViewXML and custom filter as OverrideViewXml in body parameters for the remainder call of RenderListDataAsStream.

From here it says that OverrideViewXml is for

Specifies the overriding XML to be combined with the View CAML. Only applies to the query / where part of the view CAML.

I want to know exactly how OverrideViewXml works in conjunction with ViewXml. If I specify ViewXML, the OverrideViewXml query is ignored or does not work. If I only specify OverrideViewXml and not ViewXml, the OverrideViewXml query works. At the moment there are no results (whether "ANDing" or "ORing") from OverrideViewXml with ViewXML.

For remaining calls I use the PNP JS library (2.0.3) and the solution is in SPFX

sharepoint online – RenderListDataAsStream – Overrides the rowLimit option for groups

I use RenderListDataAsStream to retrieve document library data with grouped view. After expanding the group I want to load all elements in this group, not just the specified amount (element limit) in the view settings.

"'Title')/RenderListDataAsStream?IsGroupRender=TRUE&DrillDown=1&view=bb2f25d1-0766-4a85-ac5f-f17054cB83876%% 23Group2% 3B% 23 ";

So, this query returns only 30% Group2 & # 39; elements from the library. How can I overwrite the article limit?