Monday, February 1, 2010

Difference between @Functions and @Commands

@Functions - Used for calculations and simple logic

@Commands - This will perform actions in the user interface. Normally they are like menu commands. We can perform Lotus Notes client actions in our notes applications.

How to use @Functions in LotusScript?

We can write @Functions in LotusScript using 'Evaluate' function.

The following example will return currently logged in user's common name. The retuns value will be variant.

Example:
Dim usrCommon As Variant
usrCommon= Evaluate("@Name([CN]; @UserName)")
msgbox usrCommon(0)

What is the differences between Replace Design and Refresh Design?

Replacing the Design of a database will remove all design elements in a database and replace them with those from a new template. This process also resets the Database properties (specifically the Database properties you see on the Design tab in the InfoBox (Properties Box) when you select File, Database, Properties.) In contrast, Refresh Design will use this information to do essentially the same job with the design elements, but the Design properties of the database will not change.

Please Remember, If a design element has the design property "Prohibit design refresh or replace to modify" enabled then neither Replace or Refresh will remove or replace the design element.

Keyboard shortcuts for Notes Client

From anywhere in the lotus notes system
=============================
CTRL+M => Create mail Memo
ALT+F9 => Minimize notes windows
CTRL+TAB => Cycles through open Notes windows
ALT+ENTER => Toggles the Properties Box

From lotus notes client workspace
========================
TAB => Scan for unread mails
CTRL+ARROW => Move to prev/next workspace page

From lotus notes document
===================
TAB => to open next unread document
SHIFT+TAB => to open previous unread document
ENTER => to open next document
BACKSPACE => to open Previous document
Shift+F9 => Rebuild current document
ALT+number N => Click the Nth action button.

From lotus notes view
===============
DOWN Arrow => Move to next document
SHIFT+ENTER => Move to next main document in view (skips responses)
UP Arrow => Move to previous document
SHIFT+BACKSPACE => Move to previous main document in view (skips responses)
RIGHT ArrowW => Horizontal Scroll Bar
INS => Toggles "read" and "unread" marks for selected documents
ALT+number N => Click the Nth action button
CTRL+SHIFT+F9 => Update all views in database

Languages used for Lotus Notes application development?

1. Lotus Script...More...http://en.wikipedia.org/wiki/Lotus_Script
2.Formula language. More...http://en.wikipedia.org/wiki/Formula_Language
3. JavaScript...More...http://en.wikipedia.org/wiki/JavaScript
4. Java...More...http://en.wikipedia.org/wiki/Java