CompileLotusScript (NotesDXLImporter - LotusScript®)

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



To get: flag = notesDXLImporter .CompileLotusScript

To set: notesDXLImporter .CompileLotusScript = flag

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.