#dominoforever | Product Ideas Portal

 

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

notesUIWorkspace .EditDocument add option to specify form to use

LotusScript notesUIWorkspace .EditDocument - add an option to specify which form to use when opening/editing the document.

A developer may not always want to use the default.

This will be useful for:

displaying a subset of information when a dialog is not appropriate and less complicated than multiple hidewhens / subforms

displaying print friendly forms

overriding form formulas in views

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Jun 23 2020
  • Needs review
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    03 Jul 07:39

    re: "How about the opposite then: changing the form when you are editor?"

    Not all users will have editor access. So if you want to display a different form for different circumstances you couldn't with this method. And even if you did the form would be "dirty" and you would be prompted for a save because a change has been made when the user has made no change.

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    02 Jul 18:05

    Colleagues, if you open a document in the UI and the form contains a Form field with a different (not original) value, then when you save the document its form will change.

  • Admin
    Thomas Hampel commented
    02 Jul 16:10

    How about the opposite then: changing the form when you are editor?

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    26 Jun 12:53

    Hi, re "try changing the form field".

    Not possible if you only have reader access.

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    25 Jun 21:38

    Just an idea, but after you get the notesdocument, try changing the form field to the required form, and call ws.editsocument. Might work.