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.notestemplates.com/#GR6 or http://www.notestemplates.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
Beginning Java Web Services by Andre Tost, Henry Andre Bequet, Meeraj Kunnumpurath, Sean Rhody
Web services are no longer a nascent technology in the programming industry; every major software vendor is rolling out web services-related APIs and products. Today Java developers are successfully adopting web services as the latest technology in application development in order to enable...
See at: Amazon.co.uk | Amazon.com |