Skip to main content
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

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

RE: Form works. but doesn't save
~Umberto Nongeroson 22.Dec.03 06:32 PM a Web browser
Domino Web Access 6.0.1 Windows XP


I suspect the WebQuerySave agent is the source of your problem; this is supposed to be a LotusScript agent, not macro. While sending a little email in LotusScript isn't a one-line function, it's not that hard to do.

If you want to execute macro functions when the form is being saved, you can do this more efficiently using a function in a computed for display field on the form, perhaps in conjunction with @If(@IsDocBeingSaved -- execute the formula after validation.

However, the @MailSend function (and the LotusScript equivalent) are tricky to use in web applications in general, because there's the question of whether the server will allow this user (or this non-user, if they're not signed in) to send email.

I suggest that there's probably no need to make the user wait while you send this email, in any case. Why not just use a scheduled server agent instead? Send a newsletter every now and then -- who needs to receive a separate email for every comment entered? You might also think about including the subject in the email subject and the text of the comments in the email body, to save the recipient the trouble of clicking the link each time.




Web Enabled forms (~Sean Rewekonyf... 1.Dec.03)
. . RE: Web Enabled forms (~Keiko Cisfoote... 2.Dec.03)
. . . . RE: Web Enabled forms (~Naomi Deskrote... 2.Dec.03)
. . . . . . *Agreed eom> (~Yentl Quetkrot... 2.Dec.03)
. . . . RE: Web Enabled forms (~Sean Rewekonyf... 4.Dec.03)
. . It would really help if you told us... (~Dan Elhipister... 1.Dec.03)
. . . . RE: It would really help if you tol... (~Sean Rewekonyf... 4.Dec.03)
. . . . . . RE: It would really help if you tol... (~Bill Frokimari... 12.Dec.03)
. . . . . . . . Form works. but doesn't save (~Sean Rewekonyf... 15.Dec.03)
. . . . . . . . . . RE: Form works. but doesn't save (~Bill Frokimari... 22.Dec.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS