Skip to main content
This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.
Information Mgmt
New to Lotus
How to buy
Live demos
Technical library
Forums & community
Java™ technology
Open source
SOA and Web services
Web development
My developerWorks
About dW
Submit content

developerWorks  >  Lotus  >  Forums & community  >  IBM Lotus Notes/Domino 8.5 Forum (includes Lotus Notes Traveler)

IBM Lotus Notes/Domino 8.5 Forum (includes Lotus Notes Traveler)

Previous Next
Subject: Gettign Env Variable With Script
Feedback Type: Problem
Product Area: Domino Designer on Eclipse (DDE)
Technical Area: Application Development
Platform: Windows
Release: 8.5.3
Reproducible: Always

Hi Guys. Rookie problem here. I've got a client side agent that runs a bunch of formula code, including storing a couple of environment variables (which I have confirmed are there), then kicks off a script agent. That second agent needs to retrieve the environment variables set by the first, but it isn't. I'm sure it's something super basic I'm overlooking. Relevant code follows in which I've included a couple of message boxes to debug which are empty. Thanks in advance. - Stace

Dim sel As Variant
sel = s.getenvironmentstring("rdate", True)
Dim depts As String
depts = s.Getenvironmentstring("rdept", True)
Dim prompt1 As String
prompt1 = depts
MessageBox prompt1, MB_OK, "Dept Env Variable"

Dim prompt2 As String
prompt2 = sel
MessageBox prompt2, MB_OK, "Date Env Variable"

Feedback number WEBBAY8JPC created by Stacy Elmwood on 04/27/2018

Status: Open

Gettign Env Variable With Script (Stacy Elmwood 27.Apr.18)
. . Variable Name? (Mark Taylor 27.Apr.18)


Search this forum

Member Tools

RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds


Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds


IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Connections Cloud Developers
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums

 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite