D HCL Domino Daily
All Posts Search Class Map About
A 文
  • LotusScript Notes UI +1
    NotesUIScheduler: Driving the Embedded Free/Busy Grid From LotusScript

    A custom room-booking or meeting form has the embedded scheduler control — the busy-time grid where you add attendees and see everyone's free/busy. NotesUIScheduler is how you drive that control from code: get it by name off the UI document, add or remove participants, refresh the schedule data, and read back the interval the user picked. A field report on the one front-end scheduling class, its GetScheduleData refresh, and the two events you hook.

    2026.08.02 →
  • LotusScript Notes UI
    Button, Field, Navigator: the LotusScript Classes With Zero Properties and Zero Methods

    Open the LotusScript help for Button and you expect properties and methods — there are none. Same for Field, same for Navigator. All three are empty on purpose: they exist only as event entry points, the typed Source parameter that tells a front-end event handler which element fired it. A field report on the three classes you never call anything on — what their events are (Click, Entering / Exiting / OnChange), and why the real work always goes through NotesUIDocument.

    2026.08.01 →
  • LotusScript Tutorial
    The LotusScript Web Agent I/O Model: Print Is Your Response, DocumentContext Is Your Request

    A LotusScript web agent has no request object and no response object — it has Print, whose output becomes the HTTP body, and DocumentContext, a special document holding the CGI variables. A field report on the two halves: how the first Print line sets Content-Type so you can return JSON instead of HTML, how to read the query string and POST body from DocumentContext, the CGI-fields gotcha that leaves them empty, and how it all fits with a top-level error handler.

    2026.07.31 →
  • LotusScript Tutorial
    DXL Round-Trip Pitfalls: Why Export-Then-Import Gives You Duplicates, Not the Same Documents

    You export documents to DXL, import the DXL into another database, and end up with copies carrying brand-new UNIDs instead of the same documents updated in place — because the importer creates by default and only matches on UNID when you tell it to. A field report on the DXL round-trip: the DocumentImportOption that decides create-vs-replace, why default rich text isn't binary-identical (and when to switch to RAW), and the stale-handle trap that hides the whole thing.

    2026.07.30 →
  • LotusScript Tutorial
    LotusScript Error Handling: On Error Is Per-Procedure, and Resume Next Is Not 'Ignore Errors'

    Two habits sink most LotusScript error handling: treating On Error as if it were global (it's per-procedure, and uncaught errors climb the call stack), and reaching for On Error Resume Next as a blanket 'ignore errors' switch (it hides the bug, it doesn't handle it). A field report on doing it deliberately — the per-procedure scope, the Err / Error$ / Erl lifecycle, the difference between Resume, Resume Next, and Resume label, and the clean-error pattern a web agent actually needs.

    2026.07.29 →
  • LotusScript Notes UI +1
    NotesUIDatabase: the One Place to Catch a Delete

    In the Notes client a user can delete a document from any view, with the Delete key, a cut, or a drag to the trash — you can't guard each path separately. NotesUIDatabase is the single chokepoint that sees all of them: its QueryDocumentDelete event fires once, database-wide, before anything is marked for deletion. A field report on the front-end database class — the Database bridge, the delete/archive events, and the soft-delete guard you hang off the one event that catches every path.

    2026.07.28 →
  • LotusScript
    Save(True, False) or Save(False, True): the Two Booleans That Decide Who Loses Data

    Two processes touch the same document — a web agent and a user with the form open, or a scheduled agent and a replica. One save wins, the other's edit either vanishes or turns into a mysterious $Conflict. Which one happens is decided entirely by the two booleans you passed to NotesDocument.Save. A field report on force and createResponse: last-write-wins vs the conflict document the replicator makes, why Save(True, False) quietly loses data, and how to pick on purpose.

    2026.07.27 →
  • LotusScript Notes UI +1
    NotesUIView: the Only Class That Knows What the User Selected

    A view action button is supposed to act on the rows the user highlighted — but the back-end NotesView has no concept of a selection. That gap is exactly what NotesUIView fills. A field report on the front-end view class: its Documents property (the live selection), the bridge back to the back-end View, the QueryOpenDocument / QueryClose events you hook to intercept the user, and the hard boundary that keeps all of it out of web and agent code.

    2026.07.26 →
  • LotusScript
    The NotesDOM Node Types You'll Never Instantiate: the Read-Only DTD Corner

    NotesDOM implements the full W3C node model, which means four node types exist for the DTD corner most XML developers never touch: DocumentType, Entity, EntityReference, and Notation. A short map of what they are, which one you can actually create (EntityReference), which are read-only reflections of a parsed DTD, and why in 2026 you can usually walk past all of them — plus the one case where knowing they exist saves an afternoon.

    2026.07.25 →
‹ Previous1…567…17Next ›
Powered by Astro and GitHub Actions