Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 55831

Fetch paging-cookie

$
0
0

Hi all,

I am doing, with the PHP-SDK 2011 library, a function that returns the count of a query. But I have a problem if the request is higher than 5000 records. I read that I have to use ´paging-cookie´ like this:

$query = '<fetch count="' . $count . '" page="' . $page . '" paging-cookie= "' . $cookie . '" >

The problem is $cookie is a XML like: 

<cookie page="2"><accountid last="{99323674-8166-E411-9030-D89D67645050}" first="{F4E63630-F068-E411-B918-6C3BE5BEFE80}" /></cookie>

But the XML has double quotes and this provoque that the request fails.

Did anybody have this problem working with PHP library?

Thanks, bests.


Viewing all articles
Browse latest Browse all 55831

Trending Articles



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