Variables not working

avatar

In my attempts to find a better organizing strategy, I realized that I just shouldn't use sub connections. However.
when I attempt to create a "server" folder/group and setup it's host name and ip address. When I add a session to that group, I can't seem to use the variable $COMPUTER_IP$ from the "device/workstation/server variables" tab. When I double click or choose copy to clip board. Nothing happens. I tried just typing in the host name and it didn't parse the variable...
What up with that David?

Currently using 8.0.12

All Comments (6)

avatar

Hi,
I've jsut done the test and it works fine for me. I tried both (double click and copy to clipboard). Could you create a fake xml data source with a simple structure?

David Hervieux

avatar

I tried that just as a test David... no go.
Here is what I do to recreate the issue every time.

1) Create new XML data source (though the error happens with my MSSQL data source as well in the same way.)
2) Left hand tree, right click and choose new entry.
3) select Group/Folder (left hand side) and Server (right hand side) Click OK.
4) Type in a name, change the credentials to inherited (though I tested this with default and it still happens)
5) Fill out the Hostname and IP address. Click OK to create the group/folder
6) Left hand tree, right click on the newly created group/folder and choose new entry.
7) Choose RDP session, name it RDP (though the error happens with any name)
8) Clear "RDP" from the computer text box, place cursor there, and click "view variable list" at the bottom of the page.
9) browse to the "Device/Workstation/Server Variables" tab, and double click on $COMPUTER_IP$.

it is at this stage that NOTHING happens, the screen goes away but the variable isn't placed into the text box.

Things that I have tried.

Creating the group/folder as a workstation, no change.
Typing the variable in manually, the text stays in the text box, but when you attempt to connect to the session, it tries to connect to $COMPUTER_IP$ instead of parsing the variable.
Tried other sessions, Telnet, Putty, FTP, RDP, VM Infastructure.... None that I have tried will work with the variables for servers/workstations.
I have tried, with success Other Variables. Seems that variables from "Entry" and "Environment Variables" tabs work, though there are some from the Environment tab that don't as well (Like $HOME_PATH$) All other tabs, either will not even let me double click, or do not paste anything in the field when I do double click.

I hope that procedure helps.....
(I will see when my colleague gets here if I can create the issue on his computer as well.

avatar

Finally was able to get a moment with my co-workers computer, and the exact same issue happens on his computer as it does on mine. (he isn't using and has never setup the connection to the MSSQL server data source, and has his own private XML file.

avatar

Hi,
You right about that double click. I will fix this issue but for now you can type the variable manually.

David Hervieux

avatar

Thanks

avatar

This is now fixed internally. I will do a beta build this week end.

Thank you for your help

David Hervieux