Category Archives: IBM Lotus Notes

@Formula debug time saver snippets

If you are working with applications that is using Forms directly in the client but especially on the Webb here is some handy tips how to avoid debugging your code for hours.

  1. Always use @iserror or [FailSilent] with @DBLookups
    @dblookup(“”:”recache”;@dbname;”test view”;”test value”;1;[FailSilent])
    or
    Ret:=@dblookup(“”:”recache”;@dbname;”test view”;”test value”;1)
    @if(@iserror(Ret);@return(“”);””);

    And you code continues
    or use
    Ret:=@dblookup(“”:”recache”;@dbname;”test view”;”test value”;1);
    validatedRet:=@if(@iserror(Ret);””;Ret);

    And your code continues
  2. @DBColumn doesn’t have fail silent so use the @iserror way instead
  3. When you are using @DocGetField(Document UNID;”FieldName”)
    if you are getting a document that has readers and authors fields always use
    Ret:=@if(@iserror(@DocGetField(UNID;FieldName));””;@DocGetField(UNID;FieldName));
    If you don’t use that your code will crash on the webb if you can’t access or the document you are getting data from is deleted


    Update 2025-08-20:
    Thanks Knud Erik Højslet for pointing out that @iferror is a deprecated command, the code above is updated. Also updated from nocache to recache pointed out by Vladislav Tatarincev.

Featurepack 10 for Domino 9.0.1 is available Now

Check it out but I would recommend that you try your applications first before installing this into your production environment because this is a feature pack and it’s contains the last pieces to upgrade the server to Java 8 and with this update the client gets Java 8 and an upgrade to a newer eclipse version.

Check out Paul Withers post also http://www.intec.co.uk/notes-domino-fp10-suggested-steps/

URL to server download on Fixcentral –>

Windows Server 64 

Windows Full Client 

 

>Inbox Rules engine could be used for more

>Lotus competencesImage via WikipediaThis if the rules engine of Lotus Notes could be used for more than sorting emails into folders.

When working in the inbox you would like it to help you. Imagine if you automatically could create tasks,calendar appointments from certain incoming emails.
Perhaps create documents in the notebook template to store interesting newsletters.
a more intelligent inbox that can automatically do stuff for you and just leave a summary in the inbox for you like the out of office summary would be a great help to everybody that receives alot of emails.
Googles approach with the priority inbox, that sorts the emails with different priority depending how often you send / read emails to a recipient is also very interesting but that will probably only solve a little bit of the problem.
Enhanced by Zemanta

>Agent alias revisited in 8.5.2 Gold

>As I wrote before about having aliases on agents that doesn’t have brackets around them.

Although the agent itself is only shown in the agent list, in 8.5.1 this did break the agent name.
And in earlier code drops of 8.5.2 this was an problem too. But as I wrote in my Earlier post I was confident that this would be solved until we reach GOLD of 8.5.2 and it did so if you have used agents that has a name like this “(my agent)” and an alias like this “my agent” this works really well now in 8.5.2.


Enhanced by Zemanta

>Swedish army changing email

>The swedish armed forces decided to change to Lotus Notes in 2001 and the project was fully implemented in 2005. They have now decided to replace Lotus Notes / Domino with MS Exchange and one of the major reasons why they do this is because Lotus Notes doesn’t support the new security classification that the new SAP system they will begin to use “Prio” require this.

The interesting part is that the company that implements “Prio” for the armed forces is IBM.
So the new SAP system that IBM is implementing will move the 20 000 users from Lotus Notes to Exchange.
Some swedish Links

Enhanced by Zemanta

>Does the lack of fullscreen editing in the eclipse based designer annoy you

>I hate it until I found a way around it, that I haven’t seen this documented.

Just double click on the tab you want to edit in fullscreen.
And double click again you you want to go back.
Simple, yes
Reblog this post [with Zemanta]