Skip to main content

Getting Domino Databases to Work on Mobiles without Extra Technology - Part 1

This is a Beginner/Intermediate Domino developer post.

Most mobile phones these days will happily support web browsing. Some, like the Blackberry, will go much further and offer you an API for development. The problem really is that you need to find the common denominator rather than developing for one of the higher end platforms. I believe that the common denominator is probably plain old web access.

If you've got Domino running web services, you most likely have many of your databases already served over the web. The key things to remember with mobiles are;

  • Low Bandwidth

  • Narrow Screens

  • Simplicity


This post will cover one method that could be used to provide non-push mobile access to databases using a Notes-only solution. There are plenty of other options available but this solution should work well in Domino 6 & 7 (and I'd expect, 8).

Create a Mobile Page
Open your database in designer and create a new page, you should call it mobile.
This will be the front screen for your database, so put the database name here and some links to views you'd like to use.

Don't worry too much about the actual links yet - just descriptive names for the views would be fine. When you have some views to link to, you'll want to change these to hotspot links (highlight the text and choose: Create, Hotspot, Link) set the links to Named Element, and the element type to View. You will be able to pick the appropriate view from the list by clicking the folder icon.

Try to keep it simple and small - Try to use 8 points Default Sans Serif as your main font and avoid using graphics.

At this point, you can save your page and then use your mobile to access it. The page should look something like the following (though your links might not be there yet).

Your URL will probably be something like;

http://mydomain.com.au/myfolder/mydatabase.nsf/mobile

(I've cheated on these graphics but this is pretty much how they appear).



If your mobile supports favourites/bookmarking, you might want to bookmark this for later reference since you'll be returning here a lot.

If you're interested in how to build the search link, look at yesterday's post. The link would be something like...

http://mydomain.com.au/myfolder/mydatabase.nsf/MSearchForm?OpenForm

In your link, made using: Create, Hotspot, Link Hotspot and with a Type of URL, you could get away with a shorter URL of;

/myfolder/mydatabase.nsf/MSearchForm?OpenForm

since the first parts are relative.

Here's how your search form could look;



My next post will look at Views and if it doesn't get too long, Forms.

Comments

Popular posts from this blog

How to Change Your Notification Options for New Lotus Notes Mail in version 8.x

Don't worry, I'm not patronizing you (my readers), I just decided to re-document this for one of our internal users and thought you might want to be able to use it in your own user documentation. WHAT IS THIS DOCUMENT ABOUT? Some people who don't get a lot of mail, like to be notified when such an event occurs. Notification can be; via a sound via a pop-up box via the system tray (where the computer clock is) The pop up box looks like this; Other people, who like myself, get too much mail would rather not be notified. The aim of this document is to tell you how (and where) to turn these options on and off. CHANGING YOUR SETTINGS To change your settings from the Notes 8.x client; On the Menu, click File , then Preferences... On the left hand side , click on the little plus sign to the left of Mail to expand the options. Click on the option marked Sending and Receiving . In the middle section, under receiving, you can control your notifications. If you untick the box mark

How to Create an Auto-Response Mail Message in Lotus Notes 8.5.3+

Why would you do this? Suppose that you have an externally accessible generic email address for your company; support@mycompany.com or info@mycompany.com. You might expose this to the web and allow people to send messages to you. Setting up an auto-response email will tell the senders that their message reached its destination and that it will be dealt with accordingly.  It's also good practice to include links to FAQs or other useful information. Why 8.5.3 The techniques we'll be using here work in older versions of Notes but some of the options seem to have moved around in 8.5.3.  I figured it was a good time to show you where they've moved to. The Procedure Start Domino Designer and open the Mail file to be modified.  A really quick way to do this is to right-click on the application tab and choose "Open in Designer". In the Left hand panel of designer, expand Code and then double-click Agents.  A new window should appear. Click the action

How to Do a Mail Merge to Email using Lotus Notes

Why do one? In today's "green" world, it makes much better sense to send out emails than letters but you still want to personalize them. Sadly, by itself Lotus Notes doesn't support mail merge to email. Of course, we know that outlook does (but then it lets anyone and anything send emails for you - even when you don't want them to). So, how to do it in Notes? OpenNTF The first port of call is OpenNTF ( http://www.openntf.org/ ). This place is full of great things but most of them are really badly documented. Still, these guys give things away for free and they develop in their spare time, so we should be grateful for what we get. There's a great little project there called MailMerge Excel to Notes . Go there, click on releases and download the ZIP file. Getting to the Code The installation is tricky though I've noted that since I asked the author about the install, it's been updated (so maybe these steps are less necessary). Unzip the files to somewher