This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Oct 23, 2014, 9:02 AM
2 Posts

iNotes document not reloaded after being updated by agent.

  • Category: iNotes
  • Platform: Windows
  • Release: 9.0.1
  • Role: Administrator,Developer
  • Tags:
  • Replies: 2

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.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

Oct 24, 2014, 10:17 AM
2 Posts
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


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal