Analytics


Google
Showing posts with label Lotus NOTES. Show all posts
Showing posts with label Lotus NOTES. Show all posts

Monday, September 7, 2009

Reference sites for Lotus Script

This is a bookmark for future reference:


http://www.wilsonmar.com/1lotuss.htm
http://www.mydatabasesupport.com/forums/lotus-notes-programmer/160251-automated-filling-form-lotusscript.html
http://searchdomino.techtarget.com/tips/index/0,289482,sid4_tax283841_idx10,00.html

Reference sites for Lotus Script

This is a bookmark for future reference:


http://www.wilsonmar.com/1lotuss.htm
http://www.mydatabasesupport.com/forums/lotus-notes-programmer/160251-automated-filling-form-lotusscript.html
http://searchdomino.techtarget.com/tips/index/0,289482,sid4_tax283841_idx10,00.html

Friday, July 3, 2009

Moving from Lotus NOTES to Gmail

Found a good article on the above subject here.

The main highlight is the following note:

Note that there are some quirks with this process:

  • In Notes, all messages now have a forwarded status icon, but unlike normal forwards in Notes, the header doesn’t say where it’s been forwarded to.
  • Most formatting (font colors, bullets, numbers, etc.) of Notes email is lost (they appear as plain text). This seems to be an artifact of the Notes IMAP implementation. Strangely, email that is sent from the Notes client to non-Notes users appear to preserve the formatting, but mail forwarded via a rule does not preserve formatting.
  • Message counts between Notes and Gmail probably won’t match exactly. I initially thought that something was breaking in the copy process, but when I had a closer look, I realized Gmail automatically collapses duplicate messages into a single message. (We’ve got a couple team mailing lists and when I send to one, I get a copy sent back to me, so I had quite a few duplicate messages.) Also, because Labels are applied to an entire conversation, not just individual messages, some of my messages would appear in Gmail folders other than the one I had copied the message to.

Wednesday, October 22, 2008

Consuming WebService in Lotus NOTES

I found it difficult to find reference on how to consume webservice in Lotus NOTES. That is why I have this as a bookmark to help me get back to those locations:

Consuming webservice in LN 6


Another good one that shows a simple client side method is found here (snippet as follows):
Dim Client As Variant
Set Client = CreateObject("MSSOAP.SoapClient")
'Initialize connection to the Web Service
Call Client.mssoapinit
("http://localhost/testWS.nsf/Simple?wsdl")
'Call our simple GetEmailAddress
function provided by Web service
Dim result As String
result = Client.getJoke()
'output result to message box
Messagebox result, 48, "Get Joke"


There is also an open source project which produces a java stub to consume the webservice called stubby, however, still not sure whether is meets my counterparts requirements.

In LN 8, it is much simpler to consume the webservice, just have to create a new script - either JavaScript, LotusScript or Java Library and there is a button at the bottom labeled WSDL, just click it and import WSDL to create the required reference to consume the webservice.

There is also another reference on how to write do some of the coding in java - found here. Another reference talking about webservice in LN 8.5 is found here.

Monday, October 20, 2008

Lotus NOTES programming

If you are curious about programming in Lotus NOTES, IBM provides an excellent resource here. The item I found most useful is the reference entitle Lotus Script Language Guide. Unfortunately, there is only one version of the reference book available (i.e. version 7.x).

When I first started on Lotus NOTES (4.x), they only provided formula for programming. Since version 5.x, the introduced JavaScript and LotusScript. If you are from MS environment, you will probably be more comfortable with LotusScript, since the syntax is identical to VBScript used for macros of all the MSOffice products.

If you prefer, you can either program in Java or JavaScript which is also available within Lotus NOTES. So just as you can program in Oracle using PL/SQL or using Java. The preference is yours.

Tuesday, August 19, 2008

Ensuring all the threads in Lotus NOTES are terminated

Many times when Lotus NOTES terminates abnormally, I am unable to restart it and try to use the task manager and guess which are the processes to kill. This sometimes works but most of the time I end up having to reboot my windows.

A more efficient way is to just use the NSD (Notes System Diagnostic) utility. NSD.exe can be located in the lotus notes program folder. To ensure all the just type nsd -kill. This will kill all the processes related to Lotus NOTES and you should be able to restart Lotus NOTES without rebooting your PC.

Tuesday, August 5, 2008

Enabling SMTP on Lotus NOTES server

By enabling SMTP on the Lotus NOTES, you allow the Lotus NOTES to route SMTP mail from your application such as asp.net any of your .Net application.

First put in a fully qualified internet name on the server document. Assuming the server name is mr and the mail domain we want to route is blogspot.com, you can put mr.blogspot.com as shown below:



Next enable mail routing (if it is not already done). Enable TCP/IP (it may differ if your Lotus NOTES network is named differently).



Then just get your router to refresh its config by typing the following command at the console:

Tell Router Config Update

Now your notes server can act as a SMTP server for your application

Sunday, June 1, 2008

Optimizing Content in Quickr and Lotus NOTES

Lotus NOTES
If you are using Lotus NOTES, you will find something interesting. If you copy and paste an image sometimes, you will find the document really big. The solution to that is to use paste special and then either use Device Independent BitMap or BitMap instead of RichText.

You will find the document to be significantly smaller. If you paste in RichText, the document may be > 2 Mbytes but by using paste special, the same document could be just a few hundred Kbyte.

Quickr
Another thing we discovered, is you paste your content directly into Quickr document, opening such document subsequently will take several minutes. We have seen cases where it takes more than 10 minutes.

The solution is paste the content to a notepad and then copy from the notepad prior to pasting it into Quickr. Again this is probably linked to RichText.

Monday, April 7, 2008

Lotus NOTES - Inbox missing mail

Sometimes when there is corruption, mails disappear from the inbox. The following are some solutions:

In some cases, just performing an Updall will fix it.

Other cases, we just delete the $Inbox and then reapply the template.

Finally, we need to actually convert it to another template, convert it back and then delete the $Inbox folder and then reapply the latest template.

The command to convert the template will be like follows (execute from the LN Console):

l convert -s mail\mailfile.nsf * inotes6.ntf

Wednesday, March 26, 2008

Lotus NOTES Qtrly Maintenance Task

Domino Server Tasks:

1. shut down Domino
2. Rename log file
3. Rename mail.box file(s)

Servers with Transactional Logging enabled:
(note; these are the NT commands)
4. nfixup names.nsf -J -F
5. ncompact names.nsf -b
6. nupdall names.nsf -R -X

7. nfixup admin4.nsf -J -F
8. ncompact admin4.nsf -b
9. nupdall admin4.nsf -R -X

Servers withOUT Transactional Logging enabled:
(note; these are the NT commands)
4. nfixup names.nsf -F
5. ncompact names.nsf -c -i
6. nupdall names.nsf -R -X

7. nfixup admin4.nsf -F
8. ncompact admin4.nsf -c -i
9. nupdall admin4.nsf -R -X

OS Windows tasks:

1. Delete files in 'Temp' directory
2. Clear all logs in Event viewer
3. OS account management:
a. Remove any unnecessary group in 'administrator' group. i.e: AM\Domain Admins
b. Remove any unnecessary group in 'users' group. i.e: AM\domain users
c. Check other groups and remove any unnecessary group or person
4. Disable then enable swap file (this task will require a reboot)
· Start Domino
· Recover any mail in renamed mail.box files.

List of Lotus NOTES Console commands

The list of all the Lotus NOTES Console command are available in the following links:


To see all the TCPIP connections, just type the following in the console

show port tcpip