< Back

Document Subject: Using different form for web and notes
Hint Short Cut: Add this to your code & documentation to help you find this page.
http://#SeparateWebForm or http://A555F9/nn.nsf/ByAlias/SeparateWebForm

When creating systems that use web and Notes it is often easier to create two separate forms, and then use Subforms for common components. Here is a handy tip to make sure web users load up the other form.




Have two forms and call them:

Have two forms and have them with the same alias.

Main for Notes | main

Main for Web | main

The lowest alias is always used to display on the web, the highest is used on notes.

If you call the notes form "xxx Notes" and the web form "xxx Web" this will always work.

NB I have seen a case when this didn't work. Another optional thing to do on Notes R5 is from the properties of the design document (ie select the view from the list of views, do not open, but click on properties), you can hide the element from Web or Notes on the designer tab. This is nicely shown at the right most side of the view list.

 

I do not know if this alias trick works with views, navigators and subforms but It would be good if it did.