Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 25 JAN 2022 06:44:04PM Matthew Crozier wrote:

In legacy OI, I have a simple window that makes use of the NOTEWRITE event - mainly because it is very aptly named for the functionality required, even though it has nothing to do with Lotus Notes ;). This event is deprecated in OI10, but is it possible to redefine it?

I tried adding it using the Event Configuration window in SYSPROG, but it doesn't seem to be preserved. I see it has been added to SYSENV/CFG_EVENTS, but it does not appear the next time I open Event Configuration.

Is this easy enough to set up?, or would I be better off refactoring all the code not to use NOTEWRITE event calls?

Cheers, M@

Vernon Systems


At 25 JAN 2022 06:57PM Donald Bakke wrote:

In legacy OI, I have a simple window that makes use of the NOTEWRITE event - mainly because it is very aptly named for the functionality required, even though it has nothing to do with Lotus Notes ;). This event is deprecated in OI10, but is it possible to redefine it?

I tried adding it using the Event Configuration window in SYSPROG, but it doesn't seem to be preserved. I see it has been added to SYSENV/CFG_EVENTS, but it does not appear the next time I open Event Configuration.

Is this easy enough to set up?, or would I be better off refactoring all the code not to use NOTEWRITE event calls?

Cheers, M@

Vernon Systems

Confirmed. Seems to be something in the code that specifically filters out that event. When I add anything similar, but not exactly the same, it appears.

M@ - How do you launch the Event Configuration window?

Don Bakke

SRP Computer Solutions, Inc.


At 25 JAN 2022 07:12PM Matthew Crozier wrote:

Confirmed. Seems to be something in the code that specifically filters out that event. When I add anything similar, but not exactly the same, it appears.

M@ - How do you launch the Event Configuration window?

Don Bakke

SRP Computer Solutions, Inc.

Hi Don,

That's interesting!?

In SYSPROG, I go to Tools menu> Form Designer> Event Configuration

Cheers, M@

Vernon Systems


At 25 JAN 2022 09:26PM Carl Pates wrote:

Hi M@,

Yes - we "nuked" some events in v10, and I'm afraid NOTEWRITE is one of them - TBH I didn't expect anyone to hijack it outside of Lotus notes :)

FYI - here's the list of events that were removed.

   equ DEPRECATED_EVENTS$ to "NOTEABS,NOTECLEAR,NOTEDELETE,NOTEFIRST,NOTELAST,NOTENEXT,NOTEPREV,NOTEREAD,NOTESEARCH,NOTEWRITE,POPULATEVIEW,"                               |

                           : "DSOABS,DSOCLEAR,DSOCOMMIT,DSODELETE,DSOEXECUTE,DSOFIRST,DSOINSERT,DSOINSTANCE,DSOLAST,DSONEXT,DSOPREV,DSOROLLBACK,DSOSETFILTER,DSOSETPARAM," |

                           : "SUBMIT,DRAGDRAW,DRAGDRAWSTART,DRAGDRAWEND,DDEADVISE,DDEEROR,DDEERROR"

Sorry about that - you'll need to call your custom event something else.

Carl Pates


At 25 JAN 2022 10:01PM Matthew Crozier wrote:

Yes - we "nuked" some events in v10, and I'm afraid NOTEWRITE is one of them - TBH I didn't expect anyone to hijack it outside of Lotus notes :)

Gosh, there's always someone isn't there! 😒 ;)

No worries, it's a good opportunity to refactor this properly as a commuter module :)

Cheers, M@

Vernon Systems


At 26 JAN 2022 05:44AM Carl Pates wrote:

Gosh, there's always someone isn't there!

Seriously, working on a product with such a long history is like stepping through a minefield - so many different ways to do the same thing - one little tweak and you break someone's app :(

Carl Pates


At 26 JAN 2022 10:00AM Donald Bakke wrote:

Hi M@,

Yes - we "nuked" some events in v10, and I'm afraid NOTEWRITE is one of them - TBH I didn't expect anyone to hijack it outside of Lotus notes :)

FYI - here's the list of events that were removed.

   equ DEPRECATED_EVENTS$ to "NOTEABS,NOTECLEAR,NOTEDELETE,NOTEFIRST,NOTELAST,NOTENEXT,NOTEPREV,NOTEREAD,NOTESEARCH,NOTEWRITE,POPULATEVIEW,"                               |

                           : "DSOABS,DSOCLEAR,DSOCOMMIT,DSODELETE,DSOEXECUTE,DSOFIRST,DSOINSERT,DSOINSTANCE,DSOLAST,DSONEXT,DSOPREV,DSOROLLBACK,DSOSETFILTER,DSOSETPARAM," |

                           : "SUBMIT,DRAGDRAW,DRAGDRAWSTART,DRAGDRAWEND,DDEADVISE,DDEEROR,DDEERROR"

Sorry about that - you'll need to call your custom event something else.

Carl Pates

Why the need to actually prevent these events from being repurposed?

Don Bakke

SRP Computer Solutions, Inc.


At 26 JAN 2022 10:16AM Carl Pates wrote:

The need to make sure they were removed from the system during development along with all other DSO and Notes components, and the fact that undoing all this would require more work.

Carl Pates

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/ae0645ed48c68a468801afdb223ef115.txt
  • Last modified: 2024/01/04 20:57
  • by 127.0.0.1