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@
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@
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?
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?
Hi Don,
That's interesting!?
In SYSPROG, I go to Tools menu> Form Designer> Event Configuration
Cheers, M@
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.
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@
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 :(
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.
Why the need to actually prevent these events from being repurposed?
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.