CompileLotusScript (DxlImporter - Java)

Read-write. Specifies whether the Importer should compile any LotusScript® code that occurs within imported notes.

Note: This property is new with Release 8.

Defined in


Data type



public boolean getCompileLotusScript()
    throws NotesException
public void setCompileLotusScript(boolean flag)
    throws NotesException

Legal values

  • true (default) if the Importer will compile LotusScript® code.
  • false if the Importer will not compile any LotusScript® code. The code will be compiled on first use when the note containing the code is first used


Consider specifying false for this property in the following situations:

  • The DXL contains a significant amount of LotusScript® code, you wish to speed up the Importer performance, and you are willing to accept the potential performance impact of compiling on first use.
  • The DXL contains LotusScript® code that references script libraries which are not contained in the DXL or in the import database. This will avoid generating LotusScript® compilation warning messages from the Importer.