• default forms

    By r e messier 2 decades ago

    New to notes dev here, but love superntf. one question, how can I add my own forms or change the forms on default so they do not say "demo" mode?

    • Look at the top of the form...

      By Kevin Pettitt 2 decades ago

      At the very top of the SuperNTF demo form there is a collapsible section containing a single field named "Form". The current value is "demodoc" which is the form alias of the demo form (as distinct from the form *name" which is "1. SuperNTF Demo Doc".



      Rather than renaming that form though, I recommend copying it and modifying the name/alias/form field value on the copy. So, in very simple steps, you would:



      1 - Open the database/application in Domino Designer. Select (but do not open), the "1. SuperNTF Demo Doc".

      2 - Copy the form (Ctrl-C)

      3 - Paste the form (Ctrl-V)

      4 - You may be asked whether you want to inherit, blah blah…say NO

      5 - Open the "Copy of 1. SuperNTF Demo Doc" form

      6 - Open the form properties dialog and rename the form using the following syntax " | " (Note the pipe separator, don't include the quotes…also note that I put the "1." in front of my demo form name so that it appears conveniently near the top of the form list, but this is entirely optional).

      7 - Go to the top of the form and locate the aforementioned "Form" field.

      8 - Change the formula for that field to match

      9 - Save the form.

      10 - Completely close the application in both Designer and the regular Notes client (IMPORTANT: make sure the database icon is not selected on the workspace).

      11 - Reopen the database in the regular Notes client.



      Now let's look at the Form Configuration…



      1 - Open the Administration panel and locate the "Form Config" view under "Configuration"

      2 - Find the entry for the SuperNTF demo doc form and copy it, then paste. A second identical entry will appear.

      3 - Open the copy, edit it, and select your new form from the form selection list. (If you don't see it, that may be because of caching issues - close and reopen the database again since you probably didn't follow step 10 above.)

      4 - Make any additional modifications to the form config document for your new form as needed. For example, you probably want to change the Form Title right away . Hopefully most of the rest of the form configuration is reasonably intuitive, but by all means let me know where that is not the case.

      5 - Save & Close the form config, completely close and reopen the database to ensure the new settings take effect. Repeat configuration updates as necessary, e.g. when you add new fields to the form that need validation.



      Hope that helps.



      Kev

      • still need help

        By r e messier 2 decades ago

        Thanks for the response. I did everything you said and it still shows up (when I want to select a new workflow) "please choose the type of document that you want to create" and it does not show my new alias or new copy of the form. I have closed out and taken care of cache. am I doing something wrong?



        Ryan… Thanks again for the very detailed explanation. I hope to get it working…



        ryanmessier@gmail.com

        • Ryan and I talked offline...

          By Kevin Pettitt 2 decades ago

          If anyone bumps into this thread and would like to know what the issue was just respond here and I'll forward you all the screenshots and other explanations that Ryan and I exchanged to get him going.

          • Creating a New Form

            By Lionel B Dyck 2 decades ago

            I found this project and it appears to have great promise. I'm not a notes application developer - I've stumbled around designer (prior to nd8.5 when the (imho) ruined designer) and have done some very very very simple db's. This looks like it will simplify greatly what I need to do.



            I have found how to create new categories and fields (e.g region) but have yet to find how to create a new form so this information would be greatly appreciated.



            My e-mail is lionel.b.dyck@kp.org



            Thanks