<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>I am trying to use the following method from ContentService:  ResultPa</title><link>https://community.appian.com/discussions/f/plug-ins/1950/i-am-trying-to-use-the-following-method-from-contentservice-resultpa</link><description>I am trying to use the following method from ContentService: ResultPage browsePaging(java.lang.Long root, ContentFilter filter, int startIndex_, int batchSize_, java.lang.Integer sortProperty_, java.lang.Integer sortOrder_) throws InvalidContentException</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: I am trying to use the following method from ContentService:&lt;br /&gt;&lt;br /&gt;ResultPa</title><link>https://community.appian.com/thread/7011?ContentTypeID=1</link><pubDate>Fri, 24 Jan 2014 10:13:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6eaeb16d-2226-452e-a102-b1dc8d789bf9</guid><dc:creator>Eduardo Fuentes</dc:creator><description>Do you know if at some point these environments were made a copy one of the other? &lt;br /&gt;&lt;br /&gt;Is this an upgraded environment from a previous version?&lt;br /&gt;&lt;br /&gt;Can you try in a clean 7.3. It would be important to determine what in the collaboration engine of those environments might be causing the issue.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to use the following method from ContentService:&lt;br /&gt;&lt;br /&gt;ResultPa</title><link>https://community.appian.com/thread/7010?ContentTypeID=1</link><pubDate>Fri, 24 Jan 2014 10:06:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cb07d2e8-c27e-45d9-a206-09a0f2db9721</guid><dc:creator>anushreej</dc:creator><description>Hi, &lt;br /&gt;I am testing this method on Appian 7.3. It was tested on two environments and both yielded the same result (the above mentioned exception).&lt;br /&gt;I also tried the code snippet given by you and it is still giving the same exception.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to use the following method from ContentService:&lt;br /&gt;&lt;br /&gt;ResultPa</title><link>https://community.appian.com/thread/7009?ContentTypeID=1</link><pubDate>Fri, 24 Jan 2014 09:57:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f3109bf7-c90d-4504-923c-9d3e3ade5bcf</guid><dc:creator>Eduardo Fuentes</dc:creator><description>1. What version of Appian are you testing this on?&lt;br /&gt;2. Can you try on more than one environment to see if the issue is environment specific?&lt;br /&gt;3. This works for me on Appian 7.3&lt;br /&gt;4. Can you try these two lines instead?&lt;br /&gt;&lt;br /&gt;final Long root = contentService.getIdByUuid(ContentConstants.UUID_COMMUNITY_ROOT);     &lt;br /&gt;    ResultPage resultPage = contentService.browsePaging(root,new ContentFilter(ContentConstants.TYPE_COMMUNITY),0,5, ContentConstants.COLUMN_NAME,Constants.SORT_ORDER_ASCENDING);&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to use the following method from ContentService:&lt;br /&gt;&lt;br /&gt;ResultPa</title><link>https://community.appian.com/thread/6890?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2014 11:08:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6d80eff3-1369-4e3b-9a6a-4d23a29682e5</guid><dc:creator>anushreej</dc:creator><description>HI, the method call is as follows:&lt;br /&gt;&lt;br /&gt;ResultPage resultPage = contentService.browsePaging(0L,new ContentFilter(ContentConstants.TYPE_COMMUNITY),0,5,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ContentConstants.COLUMN_NAME,Constants.SORT_ORDER_ASCENDING);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to use the following method from ContentService:&lt;br /&gt;&lt;br /&gt;ResultPa</title><link>https://community.appian.com/thread/6889?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2014 10:58:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6556d4f9-a089-4466-a07a-0df1308eac60</guid><dc:creator>Eduardo Fuentes</dc:creator><description>Can you paste the relevant piece of code where you are calling this method? I am interested on how you have defined your ContentFilter and the sort&amp;#39;s you are passing.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>