我收到此错误:更新某些页面时发生错误。无法加载http://localhost/........./xOrderForm.xsp?documentId-570C...44AF&actioneditDocument& $$ ajaxid =%40none状态:0
我正在调用代理来计算一些pdf内容然后发送电子邮件。我还没有代理中的pdf内容,而是一封电子邮件示例。我在浏览器的横幅上收到此错误,但电子邮件仍然发送。如何让横幅停止显示?这是我在javascript和LS中使用的代码。
使用Javascript:
var ag = database.getAgent("agEmailInvoice");
var vRet = ag.runOnServer(document1.getNoteID());
Lotuscript:
Dim s As New NotesSession
Dim agent As NotesAgent
Dim db As NotesDatabase
Dim doc As NotesDocument
Set db = s.CurrentDatabase
Set agent = s.CurrentAgent
REM Get document used for passing data
Set doc = db.GetDocumentByID(agent.ParameterDocID)
REM Send mail containing passed data
Dim memo As New NotesDocument(db)
memo.Form = "Memo"
memo.SendTo = "abc@xyz.com"
memo.Subject = "Message from LotusScript agent"
memo.Body = "The agent was started by "
Call memo.Send(False)
答案 0 :(得分:0)
我想出来了。我表示"没有更新"在按钮上,因为我只是调用代理发送消息并返回上一页。我将其更改为"完整更新"消息消失了,代理人也被执行了。感谢大家的所有考虑。