Open document from memo - wrong UIDocument

Dear Lotus Gurus,

hopefully I push my question in the right thread…

We have a 7.0.3 application server and we are just testing the 9.0 clients.

I have created an application with the 7.0.3 designer. This application sends notification mails to users with a document link in the them. The user opens the document pointing by the link and he presses an action button then. This action needs the NotesUIDocument of the opened document in order to receive some field values and it generates a new memo based on that field values which will be sent to another person.

Everything works fine if the user uses the 7.0.3 cilent. But if he opens the document from a 9.0 client my application receives the UIDocument of the memo (the mail opened in a new pane) not the UIDocument of the just opened document (and this causes ‘cannot locate field’ errors of course). I have detected this problem by logging the title of the UIDocument.

Could you please help me? Is this a compatibility problem?

Thank you!