Lotus Notes web application: Update the form

2660 pts.
Tags:
Lotus Notes
I am trying to:
  • Redirect the form (say 'FormA' to 'formC')
  • Update the timestamp( create/update document using different form say 'FormB') for web client.
I am using a button 'Next'which calls the function 'next' on 'formA'. I am using following pass through HTML code on the formA:
<script language=javascript>
function Next() {

document.forms[0].submit();

location='<Computed Value>';

</script>
I am using local host without any lotus notes id. When I check there is no document created/updated from the webquerysave agent. But the same agent when modified to run in the notes client it works. I am using the frield saveoptions="0" in the form. The form is redirected to 'formC' but the submit which should call webquerysave agent does not work When I comment the line "location=....." it displays form processed. How to resolve this problem so that a) and b) both works?

Software/Hardware used:
lotus notes 8.5.3, lotusscript, web application

Answer Wiki

Thanks. We'll let you know when a new response is added.

I did some analysis, my approach and script was ok. This was permission related issue to run the wqs agent. In ACL I provided Manager with full privilege to anonymous for the time being in test environment. it worked.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following