Examples: Form formulas

  1. This formula creates new documents using the "Open New Discussion" form and accesses existing documents using the "Main Topic" form. The first line of the formula enables a user to create a document using a view action when that action calls for a form other than "Main Topic."
    @If(@IsNewDoc; @Return(form); "");
    @If(@IsNewDoc; "Open New Discussion"; "Main Topic")
  2. This formula instructs Domino to open all documents selected from a view on the Web using a Web form and all documents selected from a view in Notes using a Notes form.
    @If(@ClientType="Notes";"notesForm";"webForm")