I use the 'info line1:' field to put links on the object properties when viewed with the web interface.
Is there a way to use the <%DEVICE%HOSTNAME> variable in the 'info line1:' field of the device properties so it shows up as a link in the web interface? When I used the RDP code below, everything worked right except it put the literal string <%DEVICE%HOSTNAME> into the connect to box. Jim -----Original Message----- From: Anthony Valuikas [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2003 1:10 PM To: [EMAIL PROTECTED] Subject: RE: [WhatsUp Forum] Terminal Server Web access from Webpage Yes but problem is doing it this way you have no security and the Connect shows on other devices like switches, printers... Fun to play with though... You might want to place it under <%IF% IS_MAP_CONFIGURE_MAP> in devicedetails.asp, that way guest users will not see the link. Only those who can configure the map can. Also you could do a hosttype as well and I am sure the is about a billion other ways to do it. :>:> Tv -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chris Ohm Sent: Thursday, August 28, 2003 11:58 AM To: [EMAIL PROTECTED] Subject: RE: [WhatsUp Forum] Terminal Server Web access from Webpage Here's the string I ended up using: <a href="http://(TSservername)/TSWeb/default.htm?AutoConnect=1&Server=<%DEVICE% HOSTNAME>"target="_blank">TS to Server </a> It connects to a Windows 2003 server with the TSWeb service installed and Auto-Connects to the selected server in a new window. Chris -----Original Message----- From: Anthony Valuikas [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2003 3:44 AM To: [EMAIL PROTECTED] Subject: RE: [WhatsUp Forum] Terminal Server Web access from Webpage Hmm.. well that line opens the window onto the server that has TSWEB no matter what device you are on.... Let me work on that. Tv -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Anthony Valuikas Sent: Thursday, August 28, 2003 5:33 AM To: [EMAIL PROTECTED] Subject: RE: [WhatsUp Forum] Terminal Server Web access from Webpage Of course you could open it in a "NEW" window and take off the scrollbars and buttons... Looks cleaner. :) <a href=# onClick="window.open('http://server/tsweb/connect.asp?Server=<%DEVICE%HOSTNA ME%>','','scrollbars=no,resizable=no,width=825,height=650')">Terminal Client</a> Tv -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Finbom Magnus Sent: Thursday, August 28, 2003 1:26 AM To: '[EMAIL PROTECTED]' Subject: SV: [WhatsUp Forum] Terminal Server Web access from Webpage Hi! This is the string you need with the new rdp version. The only things thats changed is the page that needs to be called on. TD>Connect:</TD> <TD> <a href="http://rdp-server/tsweb/default.htm?Server=<%DEVICE%HOSTNAME>&iFS=2&Au toConnect=1&rW=800&rH=600&">Connect </a></td></tr> <TD colSpan=3><HR></TD> <TR> Best regards Magnus Finbom IT-Engineer(Microsoft MCP, MCP+I, MCSE-NT4) Lansforsakringar Skaraborg Bank and Insurance Radhusgatan 8 54129 Skovde Sweden phone 0500 77 70 65, gsm 0708 71 70 60, fax 0500 77 70 30 [EMAIL PROTECTED] http://www.lansforsakringar.se/skaraborg -----Ursprungligt meddelande----- Fr�n: Jim Robinson [mailto:[EMAIL PROTECTED] Skickat: den 27 augusti 2003 20:59 Till: [EMAIL PROTECTED] �mne: RE: [WhatsUp Forum] Terminal Server Web access from Webpage Just a note, Ive found that the connect string doesn't work if you are using the second release of the TS web client dubbed 'RDP web client'. Jim -----Original Message----- From: Chris Ohm [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 2:52 PM To: [EMAIL PROTECTED] Subject: RE: [WhatsUp Forum] Terminal Server Web access from Webpage Thanks Jason. I had already added it to the Info line. I was looking for a way to add it to the device page so I didn't have to add it to each server individually. Not being real sharp with ASP, I was hoping someone had already done it or could help with the code. Thanks, Chris -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 10:50 AM To: [EMAIL PROTECTED] Subject: Re: [WhatsUp Forum] Terminal Server Web access from Webpage I add it to the info line in html <a href="http://nms/tsweb/connect.asp?Server=chisurf01&rW=800&rH=600&">Conn ect to Server </a> If you wanted to modify the ASP page you could grab the Host Name or IP address from the variables that are defined in the Web Template Guide ftp://ftp.ipswitch.com/ipswitch/Product_Support/WhatsUp/WebTemplateRefer ence.pdf "Chris Ohm" <[EMAIL PROTECTED]> on 08/27/2003 12:18:23 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: (bcc: Jason Peterson/Chicago/U3/TrizecHahn) Subject: [WhatsUp Forum] Terminal Server Web access from Webpage I was wondering if anyone has setup TS links to their servers from within the WUG web pages. For example, you can pass a connect string to the TS Web server - http://(TSWEBserver)/tsweb/default.htm?AutoConnect=1&Server=(servername) Is there a way to add this to one of the web pages in WUG to automatically fill in the servername based on the device page you are on? Thanks, Chris Ohm Systems Administrator American Specialty Health Inc. [EMAIL PROTECTED] ----------------------------------------- CONFIDENTIALITY NOTICE: This e-mail, and any attachments, are intended solely for the use of the intended recipient and may contain information that is confidential, proprietary, copyrighted and/or legally privileged. Any unauthorized disclosure, distribution, or use of this information is prohibited. If you are not the intended recipient, and have received this message in error, please notify the sender immediately by reply e-mail and destroy all copies of the original message and any attachments. Your compliance is appreciated. ----------------------------------------- CONFIDENTIALITY NOTICE: This e-mail, and any attachments, are intended solely for the use of the intended recipient and may contain information that is confidential, proprietary, copyrighted and/or legally privileged. Any unauthorized disclosure, distribution, or use of this information is prohibited. If you are not the intended recipient, and have received this message in error, please notify the sender immediately by reply e-mail and destroy all copies of the original message and any attachments. Your compliance is appreciated. Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/ Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/ Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/ Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/ Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/ ----------------------------------------- CONFIDENTIALITY NOTICE: This e-mail, and any attachments, are intended solely for the use of the intended recipient and may contain information that is confidential, proprietary, copyrighted and/or legally privileged. Any unauthorized disclosure, distribution, or use of this information is prohibited. If you are not the intended recipient, and have received this message in error, please notify the sender immediately by reply e-mail and destroy all copies of the original message and any attachments. Your compliance is appreciated. Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/ Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/ Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
