在Notes开发是用Lotus Script写RunOnServer的代理Agent求指导
小诚爱吃肉 2016-11-25 11:24:28 在Notes开发是用Lotus Script写代码库时调用了agent
RunOnServer的代理Agent求指导
Dim agent As NotesAgent
Dim paramid As String
Set agent=cdb.GetAgent("RegNewUserAgent")
paramid=Regdoc.NoteID
Messagebox paramid,,"NoteID"
Call Agent.RunOnServer(paramid)
接着在agent:RegNewUserAgent中写程序运行时出现;
Unsupported trigger and search in the background or embedded agent 错误代码提示
问问大神们怎么弄的?