Tag Archives: Domino Designer Tips

Not a sub or function name

If you suddenly start getting errors from a scriptlibrary or on a button in a form or a view.
Errors like this

  • Not a sub or function name
  • Sub or Function Not Defined
  • DB is not declared
  • Variable not resolved
  • Unable to find XXXX

Check that you variables / functions / Subs is declared as public

This is done at the top of the library or form using Options Public

This error can easily be mistaken with 64K library problems, Lotusscript recompile issues and other HCL Domino FP9 and FP10 related issues

Importing a Files and folders into a IBM Domino database

I saw a question today inside a linkedin forum about how to import files and folders into a Domino database and there are several ways on how to do this. Check out these three ways of importing files and folders into your nsf file.

1. Import the files into the webcontent folder using package explorer. using import










Select general -> file system to import files and folders

eclipse file import















Browse for the from folder, any subfolder will be the top folder when imported into web content in this case bootstrap

eclipse file system import

And then your files and folders look like this after the import






2. Enable the database for webdav then you can connect to the database using windows and upload the folder/file structure into domino. Super simple and quite easy to maintain. (Link to how to setup this or this old Codestore post)

3. Build an agent that will import the file resource using dxl check out this TLCC article in how to import using DXL.

Adding a second Component palette profile to Domino Designer

Designer has a customization option and that is component palette profiles. Right click on Other and click on Customize


Click on New to create a new palette



Give the palette a name och click on OK

Selects the components you want to have in this palette

Select Components


Select Active Component Palette

This makes it possible for you to create different palettes of components depending of what you are developing. One for Mobile apps one for ordinary apps. if you are using your own framework in some application and this framework has special components, your can create a special palette for that.

Customization, Customization we love that.

Designer quick tip: Find the design element fast

I often have quite large databases at customers and in the QNova development phases with lots of design elements. You look at a button and find that and agent is used or a function is called in a script library, you switch to the agents view and starts to look inside the view for the agent by scrolling down.

But there is a better and faster way to find what you are looking for, Designer filter.


The filter is in all design element views so it’s not a XPage only feature.

The great thing about this is that it’s lightning fast and you could write parts of name and it doesn’t need to be in the beginning of the name.


A great feature that needs to have some light on it. It’ helps me be more productive everyday!

Filter and hide closed databases

I had some feedback on the designer some weeks ago, that it would be good to filter away closed databases in package explorer. This does already exists in Designer today, Kudros to Dan O’Connor that showed me this. (The icon has changed from 8.5.3 to Designer 9)


And uncheck Closed projects


Now your package explorer is much cleaner and you can find you databases alot faster.
The closed project does also show up directly in the menu so you easily can toggle it.
Filter Closed projects
You can also use worksets here to get better filtering of databases and on disk projects

Designer quick tip – Database compare

Compare databases for differences

If you have two versions of an application and have missed to document what the differences between them were. Here’s how you could find out how.

Add the two versions to Domino Designer. Goto package explorer, select the two databases and right click.Database Compare DDE

And when you compare the databases, you will get a structure where you can see what’s different.

database compare

There are folders that you can skip to look at like the local folder. If we now open up the xpage folder we will in this can find that an xpage called document is changed.


The differences is highlighted with grey, I have also added a red line below them in this example. the buttons at the top also makes is simple to add the changes between the databases displayed. Or if you only want to document the changes.

There is not difference between Notes 9 and 8.5.3 this works the same in both versions.

Backup and Restore your Domino Designer settings

There is alot of settings in the designer client, displaying linenumbers in the Lotusscript editor, different settings in the editors. And when you have done all these settings you never remember what you have done when everything is working like you want it to do. A backup of you settings would be great but how to you do this?

(My screenshoots are from Designer 9 but this works in older versions also )

Quite simple actually, open up package explorer right click in panel and select Export

Import Export

Open General and select Preferences and press Next

Saving Preferences

Export All, Browse where you want to save you backup.

What to export

And press finish, now the backup is done.

If you want to Restore the backup later if you have a new installation or restore everything after you have done some modifications.

Select Import instead of Export at the first step


Select General and Preferences in the next dialog and press Next


Browse for you backup file, select import all and press Finish


You have now restored you settings from an backup file.

Get the designer client 8.5 and 9 to run smoother

Designer memory configurator version 2.0 is released. This version has some enhancements to make your life easier. Support for Notes 9 so you can configure the Notes 9 designer client to run even faster.

I have also added so you can control the program using the commandline to get the max potential.

Check out the extras Group where the Designer Memory Configurator is installed. With this command line switch. you can easily add it to the startup of you computer and never have to care about the memory configuration resetting because of installation of Fixpacks or reinstalls.

Happy Coding

Download the new version here –> Designer memory configurator

Notes Client Killer 3.0 released

I have released a new version of the Notes Client Killer, this new version has support for

Notes 9 it also have a new feature Forced Mode, this will kill the tasks for the Notes client like the old
KillNotes application does. I have also repackaged the software so now it comes with an installer to make the installation process better and primary when you want to use it again.

Enjoy and hope it helps you when you are in trouble.

Download Notes Client Killer

Client Killer v2.0 released now controlled with cmdline

Version 2.0 of Client Killer is released this release can be controlled using the commandline

Client Killer -kill  Will automatically kill the Lotus Notes Client

Client Killer -Killandclean Will kill the Lotus Notes client adn clean the log files

Client Killer -Clean Will just Clean the log files (Make sure that the Notes Client isn’t running) 

The usage of this is i.e cleanup the log files when users logon to their computer in login scripts.

Link to the new version –>> Client Killer