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.
uhm, what should I do with the agent?
ReplyDeleteThe agent is a dummy agent, ie, it should exist and be called but will not have any code at all!
ReplyDeleteI know it's weird, but I've tried this trick without calling the agent and it didn't work! Go figure... :-)