‎08-03-2017 02:04 PM
Hi,
is it possible to retrieve the web application path via the GetUserOption function in VBScript?
Where could I find an overview of what I can call via the GetUserOption?
Thank you,
Sven
Solved! Go to Solution.
‎10-12-2018 03:24 PM
Nevermind. To find the the "Section name" and "keyName":
1) I cleared out my MegaENV.ini
2) Set the "Activate variations"
3) found the value populated under "[Filter]" : "F835F9094D0536F2=1"
So for this particular value, the software assumes a default of Null or "0" - not sure which. Then, an entry ("F835F9094D0536F2=1") is made in the MegaENV.ini if the value is selected (checked). Also, the entry in the MegaENV.ini will remain and changed to "F835F9094D0536F2=0", if the option is reverted.
‎03-12-2018 03:46 PM
‎09-03-2017 04:19 PM
The solution is:
getRoot.CurrentEnvironment.getuserOption("HOPEX","WebApplicationPath")
‎08-03-2017 02:54 PM - edited ‎08-03-2017 03:00 PM
I know I can access option values via the API. That is what I want to do.
I just don't know how exactly I can call the "Web application path" value. What are the sectionName and keyName?
mgobjRoot.CurrentEnvironment.GetUserOption("???","???")
I found the function in the JavaDoc, but nothing on the availabe sectionNames and keyNames.
Thank you,
Sven
‎08-03-2017 02:12 PM
Hello Sven
Option values can be accessed using API script.
Several objects are available at environment and user level:
For more details see javadoc web site