Skip to Main Content
HCL Domino Ideas Portal

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Status Needs Review
Workspace Domino Designer
Categories Java
Created by Guest
Created on Nov 16, 2023

Add isValid or equivalent to NotesCalendarEntry

When you use NotesCalendar#getEntry, it will always return a NotesCalendarEntry object even if the UID is not found. An invalid UID will result in an object that throws an exception when you try to do basically anything with it. While documented, this is... odd behavior, especially since the exceptions all come from internal implementation functions and are like "Entry not found in index" or "Invalid or nonexistent document", not something describing the immediate situation.

So, in light of that, it'd at least be useful to have an isValid() or equivalent method to do this check without the thrown exception, since having to do a try/catch on every use of getEntry is cumbersome.

  • Attach files