Lotus Notes application experience

Source: Internet
Author: User
Lotus notes, a group product released by LOTUS, is one of the successful application cases of office system software. It condenses three-in-one powerful technologies, including enterprise-level email, distributed document database, and fast application development, fully integrated with INTERNET technology, it provides users with a complete network-centric application technology platform, which is currently the best office system development and operation platform. Over the past few years, we have found some of its own shortcomings while enjoying great interests. The server platform described in this article is windows nt, and the network environment is TCP/IP. Taking this as an example, I will write my personal opinions and share them with my peers.
1. Client installation
1.1 after WINDOWS 95/98 is installed, add a MICROSOFT network user to ensure that the client and server can communicate normally using the TCP/IP protocol.
1.2 create a hosts file in the working directory of windows 95/98 (for example, c: windows) and describe the IP address and name of the notes server, for example (the hosts file below lists three notes servers ):
111.1.1.100 notesserver1
111.1.1.101 notesserver2
111.1.1.102 notesserver3
If the Domain Name of the notes server (such as nserver.unit.com) is defined, you can access the SERVER through the domain name (nserver) without creating a hosts file.
1.3 apply for a valid user ID file from the system administrator and save it to a floppy disk or other searchable media for backup.
1.4 Insert the notesinstaller into the CD drive and run the win32installinstall.exe file on the CD drive to start installation. For general users, select "custom function (C)-manual installation, select the desired function", and then proceed, select "notes workstation", "Personal Data Files", and "attachment Uploader", copy the files, and complete the installation.
1.5 The procedure for configuring the notes workstation is as follows: Run notes, select the protocol TCP/IP and the specified NOTES server (such as nserver), and select to read the User Identifier from the file, you can obtain the ID file from a floppy disk or other searchable media. After the configuration is complete, open the "Database" option in "file" and add the application icon. Now, the client has been installed and can be used.
2. Set and clear user passwords
Client users generally have a password for entering the system. If you do not want to set a password, you can select "tool" in "file", select "User ID", and then enter the password to enter the system, press the "Clear password" button, enter the original password, and press "OK" to clear the password. Of course, you can reset the password using the above method.
3. File extraction operations
The format of data stored in the NOTES database is different from that in other databases, such as ORACLE and SQL SERVER. The data is stored neatly by row and column, and the data in the NOTES database looks messy. However, this operation is frequently applied. For example, when we sort the data in the library into the Excel file and print the regular report file, we have some knowledge about the selected format. Generally, the tabular text format is the best, with the field interval, the layers are distinct. You can also use Lotus Script to compile and import data.
4. User ID Problems
The User ID has a validity period. If it expires, it will expire and the user cannot continue using it. You need to apply for an ID from the Administrator and then mount it to the system.
5. One of the prerequisites for Installation
In Windows 95/98, the file autoexec in the root directory. bat and config. the sys file does not work, but autoexec must be installed when installing notes. bat file, and indicates the working path of windows 95/98, such as: c: windows. Otherwise, the notes system cannot be installed.
6. "invalid TCP/IP Server" information during installation
If "invalid TCP/IP Server" information appears, it is often caused by network failure. When installing the client, ensure that the client and Server are smooth.
7. Why cannot I install the new server after Lotus Domino is uninstalled?
Because the uninstallation tool provided by Windows 95/98 cannot completely uninstall Notes, some configuration information of the last server is not deleted. If the server configuration for the second installation is different from that for the first installation, you also need to put the Notes in the windows directory. ini and the server in the NotesData folder. id and cert. the id file can be deleted.
8. Why cannot I access the intranet through my Web browser on Lotus notes 4.6?
Because notes4.6 and 4.5 are different, their Web Support is enhanced, and the Internet can be accessed without any configuration. If a personal Web browser cannot access the Web page, most of the reasons are that the user selected server as the identifier During the Last Exit of Notes. after you start the Web browser of Notes again, the prompt message indicating insufficient permissions appears. You only need to select a tool, switch the identifier, and select the appropriate user identifier. The problem can be solved.
9. How do I back up and restore a Notes server?
Sometimes, when a Notes server crashes for various reasons, the system administrator needs to re-generate the server to make the newly generated server play the same role as the crashed server. NOTE4.5 does not provide a utility for server backup and recovery, so the system administrator can only manually back up and restore the server. To solve this problem, the system administrator manually backs up important system files and application database files on the server, use the backup system file to generate a new server that is the same as the original one, and then reinstall the application system to restore the server. The system files that the system administrator needs to back up at ordinary times include the organization validators identifier file Cert. id, organization unit validators identifier file, Server identifier file Server. id, the system's Public Address Book file names. the user ID file of the nsf and system administrator. id, user id file and email file, desktop. dsk, cache. dsk file. These files are usually located in the notesdata folder. When you start the re-installed server for the first time, click "advanced options" in the "Server Settings" window. The "advanced options" window appears. In this window, select "generate organization validators", "generate server identifiers", and "Generate System Administrator user identifiers", and click "OK" to close the window and continue the server setup process. During the subsequent setup, the system will ask the organization validators about the identifier file name, server identifier file name, and system administrator user identifier file name, select the backup file of the Organization validators, server identifiers, and system administrator user identifiers of the original server. After the server is configured, use the Public Address Book file and desktop of the original server. dsk, cache. dsk overwrites the file of the same name on the new server, copies the backup of the mailbox file of each user on the original server to the corresponding directory of the new server with the same name, finally, copy the backup of the application system file on the original server to the corresponding directory with the same name on the new server. Restart the server.
10 How Can I copy database files in my mailbox through a floppy disk?
It usually takes at least half an hour to remotely install and set the Notes client through a telephone line. The main reason is that during the installation and setup of the Notes client, the system needs to create a copy of the user's mailbox file on the local client through a telephone line, which is time-consuming and easy to fail. In fact, you can first create a copy of the remote user mailbox file on another Notes client. Of course, this Notes client is best connected to the server through the LAN, copy the copy directly to the remote Notes client.
11 how can I enable a database automatically after the NOTES client is started?
Start the Notes client, select "file"> "Tools"> "user preferences", open the "user preferences" window, and click the "startup options" button, select the name of the document database to be automatically opened after the NOTES are started, and click OK.
12 how to select a place when the Notes client starts?
Start the Notes client, select "file"> "Tools"> "user's usual options", open the "user's usual options" window, and select the "Basic" icon on the left of the window, select "prompt to select a place" in "launch options ". In this way, when the Notes client is started, a dialog box is displayed, asking the user to select "location ".
13. How can I quickly delete a Notes document?
When deleting a document in NOTES, the system does not immediately delete the document. Usually, the system first marks the deletion. When the user exits the client, it asks whether the document is permanently deleted. You can choose whether to delete the document. This is similar to the recycle bin in win95, which can prevent accidental deletion of documents, but also cause inconvenience to users. to quickly delete a document, you can press the F9 key to refresh after marking it, you can also directly Delete the document by using the cut function.
14. How can I access multiple address book addresses at the same time?
If you have multiple address book databases (names1.nsf, names2.nsf, and names3.nsf), you need to select users in different address book at the same time when sending the email. You only need to modify notes. ini.
Names = names1.nsf, names2.nsf, names3.nsf
Note: If you modify the notes. ini on the server, you can choose to use it for everyone. If you modify the notes. ini of the workstation, you can only use the local database.
15. One of the prerequisites for installing Notes
In Windows 95/98, the file autoexec in the root directory. bat and config. the sys file does not work, but autoexec must be installed when installing Notes. bat file, and indicates the working path of Windows 95/98, such as: c: windows. Otherwise, the Notes system cannot be installed.
16 QNC. EXE error information and solutions
During the running of notes, the following error messages are sometimes returned to the DOS Status:
Aapplication error occurred in the program Unknown crash information will be saved to the file NOTES. RIP in C: otesdata Please report this crash to the vendor of the faulting application
The solution is to run the qnc-u command in the c: otes directory and then start the machine. The above error message will not appear in the future. In fact, this is the memory protection measure of Notes. The files deleted in time will also be displayed, and the files cannot be found. Therefore, you must modify the Registry to delete the key name or change its key value.
[HKEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrentVersionAeDebug]
"Debugger" = "c: notesqnc.exe-p % ld-e % ld-g"
If you do not like it, you can type qnc-u in DOS (or WINDOWS "running"). The system prompts:
Stop running. The above error message will not appear in the future. If you think it is necessary, you can load it with qnc-I.
17 restore the hidden Database Design
The procedure is as follows:
17.1 create a blank database new. nsf with design permissions.
17.2 pretend to modify the design in Lotus Domino Designer so that it leaves a shortcut design button in the left-side toolbar.
17.3 exit all Lotus Domino/Notes programs, delete or rename new. nsf in the resource manager, and name the hidden database name new. nsf.
17.4 go to Lotus Domino Designer and find that the shortcut design button for new. nsf still exists. Then you can modify new. nsf. However, new. nsf is a database file that has been designed to be hidden.
17.5 this method can only restore the hidden design. To restore the hidden design of others, you must register the ID with the same name and surname, and the organization name must be the same.
18. How can I prevent users from deleting documents?
To prevent users from deleting specific documents, we can use QueryDocumentDelete.
For example, if you set a state domain UnProcessed in the document, the following code can complete this function:
Sub Querydocumentdelete (Source As Notesuidatabase, Continue As Variant)
Dim coll As NotesDocumentCollection
Set coll = Source. Documents
Dim doc As NotesDocument
Set doc = coll. getFirstDocument ()
While Not doc Is Nothing
If doc. UnProcessed (0) <> "Then
Msgbox "You are not allowed to delete Unprocessed events"
Continue = False
Exit Sub
End If
Set doc = coll. getNextDocument (doc)
Wend
Continue = True
Exit Sub
End Sub
19 how can I determine if the RTF domain is empty?
Assume that there is an RTF domain body which cannot be null by Using body = "". You can use the following program to determine whether it is null.
First, define:
Const lsERR_LSXUI_UNKNOWN_PROP = 4400
Const lsERR_LSXUI_INVALID_ARGS = 4401
Const lsERR_LSXUI_NO_WORKSPACE_WND = 4402
Const lsERR_LSXUI_NO_DATABASE_WND = 4403
Const lsERR_LSXUI_LSBE_DB_CREATE = 4404
Const lserr_lsxui_no_document_wnd= 4405
Const lsERR_LSXUI_LSBE_DOC_CREATE = 4406
Const lsERR_LSXUI_DOC_CMD_NOT_AVAILABLE = 4407
Const lserr_lsxui_field_1__not_available = 4408
Const lsERR_LSXUI_CMD_NOT_AVAILABLE = 4409
Const lsERR_LSXUI_DOC_OBJ_NOT_VALID = 4410
Const lserr_lsxui_doc_save_cancelleds = 4411
Const lsERR_LSXUI_NOTES_ERROR = 4412
Const lsERR_LSXUI_INVALID_LSX = 4413
Constlserr_lsxui_invalid_str_arg = 4414
Const lsERR_LSXUI_INVALID_NULL_ARG = 4415
Const lsERR_LSXUI_NO_NOTE = 4416
Const lsERR_LSXUI_MODALEDIT_DIALOGUP = 4417
Const lserr_lsxui_query_open= 4418
Const lsERR_LSXUI_INVALID_OBJ_ARG = 4419
Then, add the following program in your script
On Error Goto label1
Dim ws As New notesuiworkspace
Dim uidoc As notesuidocument
Set uidoc = ws. currentdocument
Call uidoc. gotofield ("body ")
Call uidoc. selectall
Call uidoc. deselectall
Exit Sub
Label1:
Messagebox ("rtf is null! ")
Exit Sub
20 problems during installation
If you install NOTES on a machine that has the KILL antivirus software installed, an error message "file attributes cannot be changed" is displayed and you exit, in this case, you only need to turn off the resident KILL monitoring program to successfully pass.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.