Notes Ninjas Notes Ninjas
Lotus Notes hints, tips, error messages
Golden Rule No6 All views should have an alias

Hint Short Cut: Add this to your code & documentation to help you find this page.
http://www.notesninjas.com/#GR6 or http://www.notesninjas.com/A555F9/nn.nsf/ByAlias/GR6

All views should have an alias. Why? Exceptions & Problems.


Views in Lotus Notes can have an alias.

You might not use the alias but you should.

Whenever the view is referenced in the code wither in an @DBLookup or a getview method the alias should be used.

This means that if your user/customer wishes to change the title of a view then you can do this easily, without fear of breaking the database functionality.

If you decide a view must become hidden then this will not alter your code either as you can put the brackets around the viewname without affecting the alias.

Using aliases is even easier in R5 because the aliases are displayed in the design views list.

There are no Exceptions to this rule as far as I know.

If you find a database that has these problems, just fill them in as you go along, or spend a few hours creating the aliases.

 Jump to:     Notes Tips
    Lotus Notes Index 
  Register for Tips
Previous Lotus Notes Tip 
    Next Lotus Notes Tip
Your company logo here?
Adam Foster
Free Cash Making Web Site
Free Revenue Earning Blog Site
 Free Revenue Earning Newsletter Site   
Free Search Pages Free Web stats
Free Contact Us page
Cheap .com domain names
 Need a website or 
   Lotus Notes
  problem solved?
Adam Foster
man and boy by Tony Parsons
British book of the year 2000. Great book, hard to put down, but I nearly threw it away half way through. You'll know why when you read it.
See at: Amazon.co.uk | Amazon.com |