Doclinks

I have some documents in one database that depend on the QueryOpenDocument view event to do extra functionality when opening the document.

It was necessary to use this event as the particular functionality (loading an associated image using a third party product in a separate frame in the Notes client) would only work correctly before the document itself loads into another frame.

However, I would now like to open these documents from doclinks collected from within another database.

The problem is that while the doclinks work (they open up the right document using it’s own form), no view events are executed, as the link is directly to the document.

Interestingly, the view note id appears in the link properties, but the matching view’s events are ignored.

Is there any way to achieve what I am after?

Thanks.