Sorting on custom attribute
Hi
We have a problem that has currently bested 3 developers, so now it is time to reach out for some help!
We are trying to sort our inbox in webtop. Sorting on a default column is not a problem, however if we try to sort on a custom column it doesn't work. It is not like we get any errors, it just doesn't sort properly.
The custom column show up as they should, and if a user clicks on the header of a custom column it will sort as expected. I therefore assume that it is atleast somewhat correctly implemented.
Problem is that it is not enough. We want it to sort by a custom column by default.
At the moment we are using the following lines to sort our inbox:
IInbox inboxService = getInboxService();
inboxService.setSortBy("date_sent DESC", true);
And it works perfectly!
Although we would like it to be like this:
inboxService.setSortBy("caseDiaryNumber DESC", true);
Where "caseDiaryNumber" is a custom column that we have added and as previously mentioned it seems to be correctly implemented.
So the big question is:
Is it even possible to default sort on custom attributes and if so, then how?
Comments
Categories
- All Categories
- 108 Developer Announcements
- 49 Articles
- 100 General Questions
- 122 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management