Adding iNotes menu actions

Hi,

I’m committed in Commonstore integration with iNotes 8.5.1.

I’m trying to add some new actions in memo forms to restore archived attachment, but I’m only able to add actions in new memo (edit mode)and not in read mode.

I’ve tried Custom_JS and Custom_JS_Lite without success.

Any help is appreciated.

Regards

Subject: You need to make changes in 2 places

The mail read form uses the new “Lite” code architecture, while the edit form uses the older “Classic” architecture. “Classic” code is customized in Custom_JS, and “Lite” code is customized in Custom_JS_Lite.

To add actions to the mail read form, you need to add addActionsLite() calls in the Custom_Scene_Actions_Lite() callback. You also need to uncomment this line:

Subject: Adding iNotes menu actions

Thank you very much for the answer!

My problem now is to access contained in mail fields (i’m reading a mail) in order to display or not an action.

In Forms6.nsf I access the variables simply using its their names in JS but in Lite code architecture this method doesn’t work.

Any suggestion?

Thank you in advance

Subject: Check wiki article

Take a look at this wiki article for information about the Lite code architecture and see if it answers your questions:

http://www-10.lotus.com/ldd/dominowiki.nsf/dx/manipulating-data-in-inotes-lite-forms

Subject: Adding iNotes menu actions

Thank you very much for the answer!

My problem now is to access values contained in mail fields (I’m reading a mail) in order to display or not an action.

In Forms6.nsf I access the variables simply using their names in JS code, but in Lite code architecture this method doesn’t work.

Any suggestion?

Thank you in advance