This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Apr 28, 2016, 12:38 AM
4 Posts

How do you filter NotesView items?

  • Category: Application Development
  • Platform: Windows
  • Release: 9.0.1
  • Role: Developer
  • Tags: NotesView
  • Replies: 2

I can filter NotesDocumentCollection items just fine using Search, but how can I do the same with a collection if NotesDocuments in a NotesView? I can access a user's Notes calendar in a NotesView that contains thousands of NotesDocuments (calendar entries). How do I filter on, for example give me a NotesDocumentCollection of all calendar entries on or after 1/1/2014 where AppointmentType is All-Day Event?

Apr 28, 2016, 4:53 PM
100 Posts
What do you want to do?

You can create a NotesDocCollection by using FTSearch, you can't filter an existing DC with a search.

So, just create a FTSearch that uses date, form, and/or field criteria to get a collection of calendar docs that you want.

If I didn't understand the question, please restate it with a bit more detail.

What have you tired and why didn't that work?

Apr 29, 2016, 8:06 PM
323 Posts
I think these views operate like normal views.

What's the very first sorted column in the design?

GetAllDocumentsByKey() can filter out the calendar entries for a specific date.

Once you're there, the count of documents is pretty small, and you can look at the AppointmentType to find All-Day events.

You can also GetDocumentByKey() 'til you find the first document on/after 1/1/2014, and then continue forward from that document 'til you reach the end of the calendar. Keep in mind you can get a lot of future documents on a calendar, when it has repeating documents.


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal