2008-01-14

Notes: SelectAll in an embedded view does not work

Problem:
When using the formula in an embedded view, no document is selected.

Solution:
Use a button with these formulas:

@Command([OpenView];"view_name");
@Command([ViewCollapseAll]);
@Command([ViewExpand]);
@Command([EditSelectAll]);
@Command([FileCloseWindow]);
@Command([ToolsRunMacro];"(dummy_agent_name)")

Posted on Notes Forum.

2 comments:

  1. Anonymous07:50

    uhm, what should I do with the agent?

    ReplyDelete
  2. The agent is a dummy agent, ie, it should exist and be called but will not have any code at all!
    I know it's weird, but I've tried this trick without calling the agent and it didn't work! Go figure... :-)

    ReplyDelete