If you have not
already done so, I suggest you download the current NotesDesign
The ideas listed on this page are new and do not duplicate the existing database.
Instead of releasing a new version of the NotesDesign database, I've decided to "publish" new ideas as I work on them.
I, invite you to play with these ideas. Any suggestions or additions, etc. Please send me email / feedback. As I work on these ideas, I will add very small NSF files to demonstrate each one.
The bulb icon indicates an idea being worked on, I'll add other icons to indicate ideas that seem to be "complete".
Needless to say, being works in progress, I expect you to accept responsibility for, and thoroughly test any code snippets included here. Borrower beware !
|<<< .NSF Example of the
Ever wanted a view to appear as above, with line breaks in the column ?
accomplish this, I employed the following technique...
As you can
see, the ViewText field is constructed by concatenating
the ( non-blank) desired fields, separating them with a
the view, the properties for the
"ViewText" column are set as follows:
a large amount of information in a view.
Another example might be to display voting behavior, citizens who consider themselves "to the right" could be to the right of center. Voters and non voters could be shown using different icons.
This type of display can be created
by defining 41 fields on your form. ( Cell_1,Cell_2 etc.)
and declaring them as calculated fields.
Another, simpler, way to display quantitative information in a view.
This view contains a column with a formula...
@Repeat ( "|";@Length(HowToTitle))+">>"
In this example the line represents
the number of characters in the "Howtotitle"
field of the document.
a different form to view a document
Sometimes it is
useful to see the information on a document displayed in
a non-standard way.
you have a form called Contact.
information using a DialogBox.
There are times when it
would be great to be able use a dialogbox to display
information to the users (see next entry).
@DialogBox( "InfoDialog"; [AutoHorzFit] : [AutoVertFit] : [NoCancel] : [NoNewFields] : [NoFieldUpdate] : [ReadOnly] ; "" )
hoping that the popup form "InfoDialog" will be displayed. Instead you get the error shown below.
To avoid this problem, create a lotusscript agent to display the dialogbox and call this as a macro from your (navigator) button.
Create a lotusscript agent ( selecting "Run Once (@Commands may be used)" ) called, for example, DisplayPopup.
The code under initialize is..
The advantage here is that the code
creates a dummy document (doc) before calling the dialog
Now in the navigator button you can put the formula...
and the dialog box will appear as you wanted.
This entry uses the previous idea to create a Popup dialogbox, presenting the user with information
When a remote user is having problems replicating, I've found it useful to get some basic information from them. This dialog box was designed for that purpose..
The formula for the first field is simply .. @Name([CN];@UserName)
For "Your current access", the formula is...
@Subset(@UserAccess( @DbName );1);
For "Your current roles",
the formula is.....
I'm sure you can see how this idea can be extended
|Attaching files to documents
This database example reads through the documents in a view and to each document, attaches a matching file found in a specified directory.