Skip to Main Content
HCL Domino Ideas Portal

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Status Needs Review
Workspace Domino Designer
Categories LotusScript
Created by Guest
Created on Nov 8, 2023

Resolve %INCLUDE directive when agent is saved

The %INCLUDE directive is resolved when the agent is executed in the frontend or backend. Customer expects %INCLUDE directive to be resolved when the agent is saved.

  • Attach files
  • Guest
    Nov 8, 2023

    There are actually two circumstances when %Include directives are executed:

    1. At compile time. As a consequence, the compiled agent code does contain any code that was inserted via %Include directives. The included source code files are not needed to execute the agent code.

    2. When an agent is executed under debugger control. LotusScript then tries to access the source code contained in any included files in order to present that source code in the debugger. An error occurs in case an included file is not present at the time when the relevant agent is executed in the debugger.

    It seems that the documentation correctly reflects the first part, while the second part is missing.