Skip to main content

Posts

Showing posts with the label Views

How (and Why) to Use Different Search Templates for Different Lotus Domino Views

Why would you need to do this? Until recently, I'd have been at a loss to give you a good reason. Now however, since I've decided to modify some databases for Mobile Phone use, I have a very good reason. Suppose that you want your database to be searchable via the web and also searchable via mobile. On the web, you can afford to spread out on the screen and you want to use a lot of fancy graphics and fonts. On the mobile, you need to keep things as small and as plain as possible. Working with your existing Database Your database probably already has a $$SearchForm (or similar) and a $$SearchTemplateDefault. Leave these as they are and your web site will continue to work beautifully. Make a copy of the two forms and modify them for mobiles In these examples, we'll call... the new $$SearchForm, MSearchForm We'll call the new $$SearchTemplate for MSearchAll On your MSearchForm, you need only have; 1. An Editable Text Field (called SearchWord1) 2. A Button 3. A Computed T...