Created
October 2, 2018 12:06
-
-
Save markleusink/0fefbc5e82b628d712a5d6b3a6dbf5cf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String fakenamesPath = "fakenames2018.nsf"; | |
// open the target database/ view (collection) | |
NotesDatabase db = new NotesDatabase(ExtLibUtil.getCurrentSession(), "", fakenamesPath); | |
NotesCollection collection = db.openCollectionByName("contacts"); | |
//resort the collection (view) according to the selected column and direction | |
collection.resortView(this.sortColumn, | |
(this.sortAscending ? Direction.Ascending : Direction.Descending)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment