【问题标题】:Lotus Notes 8.5: Button not working when document in preview pane?Lotus Notes 8.5:预览窗格中的文档时按钮不起作用?
【发布时间】:2015-03-12 08:40:05
【问题描述】:

我尝试使用 Notes 8.5 设置一些电子邮件工作流程(投票、注册等)。 一切似乎都很好,但我不知道如何从电子邮件预览窗格中让我的功能正常工作!?

例如:

@If(@IsDocBeingEdited;
@PostedCommand([FileSave]);
@Do(    @PostedCommand([EditDocument]);
        @PostedCommand([FileSave]);
      @PostedCommand([EditDocument])))

当我通过双击打开电子邮件时,此代码(在按钮上)工作正常,但如果我在预览中单击相同的按钮,我会得到:“无法执行指定的命令”

有什么方法可以让我的命令在预览窗格中运行?大多数(全部?)用户在预览模式下查看/阅读邮件,因此他们还可以从那里与表单和按钮进行交互......!

【问题讨论】:

    标签: command preview execute lotus


    【解决方案1】:

    Lotus Notes 仅在阅读模式下在预览窗格中显示文档。但是您的代码需要文档的编辑模式。你应该添加

    @Command([OpenDocument];@False; @DocumentUniqueID);
    首先是@PostedCommand([EditDocument]);

    【讨论】:

    • 更好但仍然收到错误消息...实际 cide: ´@If(disablebutton="1"; @Return(@Prompt([Ok];"Fehler";"Danke, deine Antwort wurde bereits registriert")); @Prompt([Ok];"Danke";"Vielen Dank für deine Antwort")); @MailSend( "heinz.haim@ams.at"; ""; "" ; "Ich nehme teil!" ; @Name([CN];@UserName); "1234567" ; [PriorityNormal] );字段禁用按钮:=“1”; @If(@IsDocBeingEdited;@PostedCommand([FileSave]);@Do(@Command([OpenDocument];@False;@DocumentUniqueID);@PostedCommand([FileSave]);@PostedCommand([CloseDocument])))跨度>
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-06-27
    • 1970-01-01
    相关资源
    最近更新 更多