<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Pagination not working with get attachments REST call  in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/pagination-not-working-with-get-attachments-rest-call/m-p/210411#M163541</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to add pagination therefore, my get attachments request call is as below, with the start and size set. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var attachments = get(httpUrl + "/bpmn/runtime/tasks/" + id&amp;nbsp; + "/attachments?start="+start+ "&amp;amp;size=10",null,headers,"json").data;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but this always returns the entire data set. Even if i add static values like below, it always returns the entire data set. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var attachments = get(httpUrl + "/bpmn/runtime/tasks/" + id&amp;nbsp; + "/attachments?start=5&amp;amp;size=10",null,headers,"json").data;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Pagination is working for other REST calls such as get tasks. What could be the issue here? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jun 2015 04:02:50 GMT</pubDate>
    <dc:creator>hguser</dc:creator>
    <dc:date>2015-06-24T04:02:50Z</dc:date>
    <item>
      <title>Pagination not working with get attachments REST call</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pagination-not-working-with-get-attachments-rest-call/m-p/210411#M163541</link>
      <description>Hi ,I need to add pagination therefore, my get attachments request call is as below, with the start and size set. var attachments = get(httpUrl + "/bpmn/runtime/tasks/" + id&amp;nbsp; + "/attachments?start="+start+ "&amp;amp;size=10",null,headers,"json").data;but this always returns the entire data set. Even if</description>
      <pubDate>Wed, 24 Jun 2015 04:02:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pagination-not-working-with-get-attachments-rest-call/m-p/210411#M163541</guid>
      <dc:creator>hguser</dc:creator>
      <dc:date>2015-06-24T04:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Pagination not working with get attachments REST call</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/pagination-not-working-with-get-attachments-rest-call/m-p/210412#M163542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's correct what you are saying. The task attachments resource returns the whole list of attachments for the requested task there's no pagination logic. It's also not a query REST resource, where pagination is supported.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards, &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 20:17:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/pagination-not-working-with-get-attachments-rest-call/m-p/210412#M163542</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-06-24T20:17:27Z</dc:date>
    </item>
  </channel>
</rss>

