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 Sep 12, 2022

Need a functionality to set the OS environment variable using LotusScript method.

Currently, unable to use the LotusScript method to set the Operating system Environment variable.


The requirement is to add an Environment Variable in the Operating system using the LotusScript method.


  • Attach files
  • Guest
    Reply
    |
    Sep 19, 2022

    The session.SetEnvironmentVar method sets a variable in NOTES.INI. Idea requires you to set an operating system environment variable. Such a variable can currently be read using the LotusScript Environ function. For example, Environ("TEMP") is commonly used. But it cannot be set. It's not a problem to set it up via the C API, maybe somehow via a Shell function. But it will always depend on the platform.

  • Guest
    Reply
    |
    Sep 16, 2022

    SetEnvironmentVar (NotesSession - LotusScript)

    Sets the value of a string or numeric environment variable.
    https://help.hcltechsw.com/dom_designer/12.0.0/basic/H_SETENVIRONMENTVAR_METHOD.html