【问题标题】:Calling java agent from lotus formula从莲花公式调用java代理
【发布时间】:2015-05-07 06:50:07
【问题描述】:

我正在尝试从 Lotus 公式代码中调用 Java 代理。

@Command( [RunAgent] ; MyJavaAgent );

但是当执行一个公式时,我得到一个错误提示:

Internal Error processing command:incorrect number of parameters.

我对这个错误一无所知,因为我的 java 代理代码不需要任何参数。

【问题讨论】:

    标签: lotus-notes lotus lotus-formula


    【解决方案1】:

    致电您的代理

    @Command( [RunAgent] ; "MyJavaAgent" );
    

    第二个参数必须是一个字符串:代理的名字。

    MyJavaAgent 不带引号将被解释为字段或变量。由于没有定义这样的字段或变量,它将被评为空值“”。结果
    @Command([RunAgent]; "") 会引发您提到的错误。

    因此,您的代理尚未被调用,@Command 本身引发了错误。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多