Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
5 replies
Subscribers
5 subscribers
Views
1669 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
I am trying to use the following method from ContentService: ResultPa
anushreej
over 10 years ago
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,
PrivilegeException
It fails with following exception:
com.appiancorp.kougar.driver.exceptions.Signal: rank
Using the same service, its other method browse() works fine.
Kindly help in finding the cause of this error and why the paging method is failing....
OriginalPostID-97032
OriginalPostID-97032
Discussion posts and replies are publicly visible
Parents
0
Eduardo Fuentes
Appian Employee
over 10 years ago
1. What version of Appian are you testing this on?
2. Can you try on more than one environment to see if the issue is environment specific?
3. This works for me on Appian 7.3
4. Can you try these two lines instead?
final Long root = contentService.getIdByUuid(ContentConstants.UUID_COMMUNITY_ROOT);
ResultPage resultPage = contentService.browsePaging(root,new ContentFilter(ContentConstants.TYPE_COMMUNITY),0,5, ContentConstants.COLUMN_NAME,Constants.SORT_ORDER_ASCENDING);
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Eduardo Fuentes
Appian Employee
over 10 years ago
1. What version of Appian are you testing this on?
2. Can you try on more than one environment to see if the issue is environment specific?
3. This works for me on Appian 7.3
4. Can you try these two lines instead?
final Long root = contentService.getIdByUuid(ContentConstants.UUID_COMMUNITY_ROOT);
ResultPage resultPage = contentService.browsePaging(root,new ContentFilter(ContentConstants.TYPE_COMMUNITY),0,5, ContentConstants.COLUMN_NAME,Constants.SORT_ORDER_ASCENDING);
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data