Home
TeamSite
Sort documents on folder
benricho
Hi,
I am displaying the names of documents stored in a folder in IManage on a page in my Intranet, which is working well, but I would like the ability to sort the list of files when they are displayed.
Any ideas on how this can be done?
Ben
Find more posts tagged with
Comments
Migrateduser
Typicaly the sort order of a list is defined by the application displaying them. For instance in Worksite web, you can click on the column headers and it will sort the document list, without having to perform the seach of them again.
However you can define on the DMS server the order search results are returned, however this will affect every search all the users do.
Hope this helps
Richard
This isn't life in the fast lane, it's life in the oncoming traffic.
jny
If you're displaying the results on your own custom page, you may use the iManage.dll to sort the collection by implementing your own sorter object.
For code example see Sorter.cs which is stored in <installed_path>\iToolkit\8.0\SampleAppsFor8.0\SDK80SAMPLEAPP\. For reference info on the sorter object, see IManObjectSort in COM Reference Manual for WorkSite 8.0.pdf which is also included in the 8.0 iToolit.
benricho
Great, thanks guys, I am using my own sorting in a collection and it works perfectly.