We have made customizations to our DWA 7 mailfiles modifying the Forms7.nsf. The modifications consist of 4 view actions (mail / calendarviews) and some code being executed, when a document (mail or calendar) is opened. I’m currently trying to get this functionality working in iNotes 8.5 (Full mode) as well.
The document opening functionality still runs in Classic Mode, so my modifications to Custom_JS subform are still working.
The view actions now run in the Lite framework, so my DWA 7 code is not working anymore even when I put it in the Custom_JS_Lite subform.
Basically these actions act on selected documents in the view, presenting the user input forms in a dialog using
window.showModalDialog
and then starting Notes Script agents, based on the dialog results using
document.forms.[sAgentForm].submit()
This code doesn’t seem to work when started in iNotes Lite framework.
Is there something like a DWA 7 compatibility mode in iNotes 8.5?
If not, is there more documentation for customizing iNotes 8.5, especially covering the differences to DWA 7 (Starting agents in iNotesLite framework, for example)?
I read the articles about the ‘iNotes Lite framework’ and ‘Manipulating data in iNotes Lite forms’, which are very helpful and cover a lot (but obviously not all).
So, any hint that could point me to more documentation / examples for the iNotes Lite framework is very much appreciated.
Many thanks,
Veit
Subject: Custom_JS_Lite
Here’s an article that outlines the customization updates in 8.5:
http://www-10.lotus.com/ldd/dominowiki.nsf/dx/inotes-customization-changes-for-8.5
It sounds like you’re already on the right track. You need to make similar changes in Custom_JS_Lite that you did in Custom_JS. You can’t just copy the code over, however. The add and remove actions functions have slightly different parameters. Read the comments in Custom_ActionsHelper_Lite for more information.
Also, don’t forget to uncomment the InsertNotesSubForm line for “Custom_ActionsHelper_Lite” in Custom_JS_Lite
Subject: Part of it is working already
Thank you very much, Eric, for your response.
I think the new iNotes UI, the new look and feel is a big step forward! Thanks also for passing the link. Akira’s and your documents help me a lot in accomplishing my task.
I already managed to get our view icons to the right places and also succeeded in creating a dialog box from one view action and starting an LS agent after the dialog (thanks to the Manipulating data in iNotes Lite forms article).
In the past (DWA 7) we created a form with agent specific data and passed this info on to the respective agent via a document.forms.submit() . This part I haven’t done yet in iNotes Lite but the oListener.load() example seems to be the right way to do this.
Could be that I’ll post another forum entry with a more specific question on that if I run into problems :-). Thanks again.