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