iNotes document not reloaded after being updated by agent

Hello,

my company is using a retention customization since years. Currently, we are on 8.5.3 and my job is now to customize 9.0.1 the same way.

I got an issue: the document is not reloaded/refreshed after the agent finished to run.

In order to be sure the cause is not the multiple customization I made, I decided to test the example by Akira Sudoh:

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

http://www.openntf.org/catalogs/a2cat.nsf/5180b1b5a7a1c5dd85257384004c8d0e/eb7e01e3bbcef5f6852576d200205ebe!OpenDocument http://www.openntf.org/catalogs/a2cat.nsf/5180b1b5a7a1c5dd85257384004c8d0e/eb7e01e3bbcef5f6852576d200205ebe!OpenDocument

I first implemented it on a 8.5.3 infrastructure and all is okay.

Second, I implemented it to 9.0.1 and needed to do a few changes because a few objects/properties names was not the same in 9.0.1

For example

var sUrl = AAA.MO + ‘/0/’ + oContext.EIX[0]+ ‘?EditDocument&Form=l_RunAgent&PresetFields=AgentName;ReadMailRtAgent’;

will become

var sUrl = AAA.MO + ‘/0/’ + oContext.asUnids[0]+ ‘?EditDocument&Form=l_RunAgent&PresetFields=AgentName;ReadMailRtAgent’;

After these few changes completed, the process run but, once the agent finished, this line is executed:

this.oContent.oNote.load(oNoteListener, true);

but do not reload the document.

The only way I have to see the changes the agent made is to refresh the whole page into my Browser. I get the same behavior with IE or Chrome.

Is someone know how to fix this?

Thanks

Fabian

Subject: already saw that but no answer to my issue

Brandon,

thanks for these links, I already had a look on them before publishing my question. I didn’t found an answer here.

Is a working example for iNotes 9 available somewhere?

Thanks

Fabian

Subject: additional inotes customization links to check out

heres some references that may help with your iNotes customization of the formsx:

http://www-10.lotus.com/ldd/dominowiki.nsf/xpViewCategories.xsp?lookupName=Lotus%20iNotes%20customization http://www-10.lotus.com/ldd/dominowiki.nsf/xpViewCategories.xsp?lookupName=Lotus%20iNotes%20customization
http://publib.boulder.ibm.com/infocenter/domhelp/v8r0/index.jsp?topic=%2Fcom.ibm.help.domino.admin85.doc%2FH_CUSTOMIZING_THE_LOOK_OF_LOTUS_INOTES_STEPS.html http://publib.boulder.ibm.com/infocenter/domhelp/v8r0/index.jsp?topic=%2Fcom.ibm.help.domino.admin85.doc%2FH_CUSTOMIZING_THE_LOOK_OF_LOTUS_INOTES_STEPS.html