Re: passing ipconfig information
** Thanks all for the information. It ended up being I had to put the In the header instead of the footer. Issue resolved. Thanks again. From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Grooms, Frederick W Sent: Thursday, September 28, 2006 9:25 AM To: arslist@ARSLIST.ORG Subject: Re: passing ipconfig information Try them 1 at a time to see which is causing you problems. I am on Sun (with Apache/Tomcat) and they work for me. I take it that you are using Windows IIS with ServletExec. I also should have added for #3 that the AL should have $CLIENT-TYPE$ = 9 for it's Run-If. Fred From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, September 27, 2006 6:25 PM To: arslist@ARSLIST.ORG Subject: Re: passing ipconfig information ** I am getting a Caught exception:Object expected error when running this. In the get_client_info.jsp page is there any other syntax that needs to be in the file? Any ideas? Thanks From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Grooms, Frederick W Sent: Wednesday, September 27, 2006 5:03 PM To: arslist@ARSLIST.ORG Subject: Re: passing ipconfig information This is from an old thread "Mid-Tier 6.3 - Get IP Address and Host Name": 1. Create a file in the same folder as login.jsp named get_client_info.jsp with the following contents: function env_RemoteAddr() { return ("<%=request.getRemoteAddr()%>"); } function env_RemoteHost() { return ("<%=request.getRemoteHost()%>"); } function env_RemoteUser() { return ("<%=request.getRemoteUser().replace('\\', ' ')%>"); } 2. Add the following code to the footer properties of the form (Form -> Current View -> Properties ->Appearance -> Edit Web Footer Content): 3. Add the following AL Run Process command to the form as needed (Replace the field IDs with your IDs): _javascript_:window.F(536870976).DoSet(env_RemoteAddr()); _javascript_:window.F(536870977).DoSet(env_RemoteHost()); _javascript_:window.F(536870978).DoSet(env_RemoteUser()); Fred From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, September 27, 2006 3:36 PM To: arslist@ARSLIST.ORG Subject: Re: passing ipconfig information ** Has anyone passed the ip address and the mac address of a client machine from the midtier? This did work for the thick client but the midtier errors out. From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Frank Caruso Sent: Tuesday, September 19, 2006 1:44 PM To: arslist@ARSLIST.ORG Subject: Re: passing ipconfig information ** This works from the client. Create an active link that does a set fields $PROCESS$ into a field: $PROCESS$ cmd /c ipconfig /all However, you get a large block of text that is not fomratted very well. On 9/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote: ** All, Has anyone through a Run Process or maybe another method to run an ipconfig /all on a client pushing the information from the output to a field within a Remedy form? Any ideas would be appreciated. Thanks, Brandi Windows 2000 Server SQL 2000 ARS 6.3 __20060125___This posting was submitted with HTML in it___ __20060125___This posting was submitted with HTML in it___
Re: passing ipconfig information
** I just ran into something yesterday that may be related. I was getting a "Caught exception 'LoadResultList' is null or not an object" error on the mid tier, but the client ran fine. What I found was that it was a permissions issue related to the Results List table field. The permissions on the field and column were ok, but the field was in located in the Debug Page Holder. I needed to give permissions to the Debug Page Holder. Because we were only running the client before, the permissions on the page holder were ok at just the Admin level. I guess it doesn't work that way in the Mid-Tier. Kinda defeats the purpose of what the Debug was added for, I believe. I am planning to have to create an Active Link that will unhide it for Administrators only now that others need permission to it. ARSystem 6.3 HelpDesk 5.6 Windows SQL 2000 Carolyn -Original Message-From: Grooms, Frederick W [mailto:[EMAIL PROTECTED]Sent: Thursday, September 28, 2006 6:25To: arslist@ARSLIST.ORGSubject: Re: passing ipconfig information ** Try them 1 at a time to see which is causing you problems. I am on Sun (with Apache/Tomcat) and they work for me. I take it that you are using Windows IIS with ServletExec. I also should have added for #3 that the AL should have $CLIENT-TYPE$ = 9 for it's Run-If. Fred From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]Sent: Wednesday, September 27, 2006 6:25 PMTo: arslist@ARSLIST.ORGSubject: Re: passing ipconfig information ** I am getting a Caught exception:Object expected error when running this. In the get_client_info.jsp page is there any other syntax that needs to be in the file? Any ideas? Thanks From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Grooms, Frederick WSent: Wednesday, September 27, 2006 5:03 PMTo: arslist@ARSLIST.ORGSubject: Re: passing ipconfig information This is from an old thread "Mid-Tier 6.3 - Get IP Address and Host Name": 1. Create a file in the same folder as login.jsp named get_client_info.jsp with the following contents: function env_RemoteAddr() { return ("<%=request.getRemoteAddr()%>"); } function env_RemoteHost() { return ("<%=request.getRemoteHost()%>"); } function env_RemoteUser() { return ("<%=request.getRemoteUser().replace('\\', ' ')%>"); } 2. Add the following code to the footer properties of the form (Form -> Current View -> Properties ->Appearance -> Edit Web Footer Content): 3. Add the following AL Run Process command to the form as needed (Replace the field IDs with your IDs): _javascript_:window.F(536870976).DoSet(env_RemoteAddr());_javascript_:window.F(536870977).DoSet(env_RemoteHost());_javascript_:window.F(536870978).DoSet(env_RemoteUser());Fred From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of [EMAIL PROTECTED]Sent: Wednesday, September 27, 2006 3:36 PMTo: arslist@ARSLIST.ORGSubject: Re: passing ipconfig information ** Has anyone passed the ip address and the mac address of a client machine from the midtier? This did work for the thick client but the midtier errors out. From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Frank CarusoSent: Tuesday, September 19, 2006 1:44 PMTo: arslist@ARSLIST.ORGSubject: Re: passing ipconfig information ** This works from the client. Create an active link that does a set fields $PROCESS$ into a field:$PROCESS$ cmd /c ipconfig /allHowever, you get a large block of text that is not fomratted very well. On 9/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote: ** All, Has anyone through a Run Process or maybe another method to run an ipconfig /all on a client pushing the information from the output to a field within a Remedy form? Any ideas would be appreciated. Thanks, Brandi Windows 2000 Server SQL 2000 ARS 6.3 __20060125___This posting was submitted with HTML in it___ __20060125___This posting was submitted with HTML in it___
Re: passing ipconfig information
** Try them 1 at a time to see which is causing you problems. I am on Sun (with Apache/Tomcat) and they work for me. I take it that you are using Windows IIS with ServletExec. I also should have added for #3 that the AL should have $CLIENT-TYPE$ = 9 for it's Run-If. Fred From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]Sent: Wednesday, September 27, 2006 6:25 PMTo: arslist@ARSLIST.ORGSubject: Re: passing ipconfig information ** I am getting a Caught exception:Object expected error when running this. In the get_client_info.jsp page is there any other syntax that needs to be in the file? Any ideas? Thanks From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Grooms, Frederick WSent: Wednesday, September 27, 2006 5:03 PMTo: arslist@ARSLIST.ORGSubject: Re: passing ipconfig information This is from an old thread "Mid-Tier 6.3 - Get IP Address and Host Name": 1. Create a file in the same folder as login.jsp named get_client_info.jsp with the following contents: function env_RemoteAddr() { return ("<%=request.getRemoteAddr()%>"); } function env_RemoteHost() { return ("<%=request.getRemoteHost()%>"); } function env_RemoteUser() { return ("<%=request.getRemoteUser().replace('\\', ' ')%>"); } 2. Add the following code to the footer properties of the form (Form -> Current View -> Properties ->Appearance -> Edit Web Footer Content): 3. Add the following AL Run Process command to the form as needed (Replace the field IDs with your IDs): _javascript_:window.F(536870976).DoSet(env_RemoteAddr());_javascript_:window.F(536870977).DoSet(env_RemoteHost());_javascript_:window.F(536870978).DoSet(env_RemoteUser());Fred From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of [EMAIL PROTECTED]Sent: Wednesday, September 27, 2006 3:36 PMTo: arslist@ARSLIST.ORGSubject: Re: passing ipconfig information ** Has anyone passed the ip address and the mac address of a client machine from the midtier? This did work for the thick client but the midtier errors out. From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Frank CarusoSent: Tuesday, September 19, 2006 1:44 PMTo: arslist@ARSLIST.ORGSubject: Re: passing ipconfig information ** This works from the client. Create an active link that does a set fields $PROCESS$ into a field:$PROCESS$ cmd /c ipconfig /allHowever, you get a large block of text that is not fomratted very well. On 9/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote: ** All, Has anyone through a Run Process or maybe another method to run an ipconfig /all on a client pushing the information from the output to a field within a Remedy form? Any ideas would be appreciated. Thanks, Brandi Windows 2000 Server SQL 2000 ARS 6.3 __20060125___This posting was submitted with HTML in it___
Re: passing ipconfig information
** I am getting a Caught exception:Object expected error when running this. In the get_client_info.jsp page is there any other syntax that needs to be in the file? Any ideas? Thanks From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Grooms, Frederick W Sent: Wednesday, September 27, 2006 5:03 PM To: arslist@ARSLIST.ORG Subject: Re: passing ipconfig information This is from an old thread "Mid-Tier 6.3 - Get IP Address and Host Name": 1. Create a file in the same folder as login.jsp named get_client_info.jsp with the following contents: function env_RemoteAddr() { return ("<%=request.getRemoteAddr()%>"); } function env_RemoteHost() { return ("<%=request.getRemoteHost()%>"); } function env_RemoteUser() { return ("<%=request.getRemoteUser().replace('\\', ' ')%>"); } 2. Add the following code to the footer properties of the form (Form -> Current View -> Properties ->Appearance -> Edit Web Footer Content): 3. Add the following AL Run Process command to the form as needed (Replace the field IDs with your IDs): _javascript_:window.F(536870976).DoSet(env_RemoteAddr()); _javascript_:window.F(536870977).DoSet(env_RemoteHost()); _javascript_:window.F(536870978).DoSet(env_RemoteUser()); Fred From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, September 27, 2006 3:36 PM To: arslist@ARSLIST.ORG Subject: Re: passing ipconfig information ** Has anyone passed the ip address and the mac address of a client machine from the midtier? This did work for the thick client but the midtier errors out. From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Frank Caruso Sent: Tuesday, September 19, 2006 1:44 PM To: arslist@ARSLIST.ORG Subject: Re: passing ipconfig information ** This works from the client. Create an active link that does a set fields $PROCESS$ into a field: $PROCESS$ cmd /c ipconfig /all However, you get a large block of text that is not fomratted very well. On 9/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote: ** All, Has anyone through a Run Process or maybe another method to run an ipconfig /all on a client pushing the information from the output to a field within a Remedy form? Any ideas would be appreciated. Thanks, Brandi Windows 2000 Server SQL 2000 ARS 6.3 __20060125___This posting was submitted with HTML in it___ __20060125___This posting was submitted with HTML in it___
Re: passing ipconfig information
** This is from an old thread "Mid-Tier 6.3 - Get IP Address and Host Name": 1. Create a file in the same folder as login.jsp named get_client_info.jsp with the following contents: function env_RemoteAddr() { return ("<%=request.getRemoteAddr()%>"); } function env_RemoteHost() { return ("<%=request.getRemoteHost()%>"); } function env_RemoteUser() { return ("<%=request.getRemoteUser().replace('\\', ' ')%>"); } 2. Add the following code to the footer properties of the form (Form -> Current View -> Properties ->Appearance -> Edit Web Footer Content): </SPAN>language="_javascript_"> 3. Add the following AL Run Process command to the form as needed (Replace the field IDs with your IDs): _javascript_:window.F(536870976).DoSet(env_RemoteAddr());_javascript_:window.F(536870977).DoSet(env_RemoteHost());_javascript_:window.F(536870978).DoSet(env_RemoteUser());Fred From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]Sent: Wednesday, September 27, 2006 3:36 PMTo: arslist@ARSLIST.ORGSubject: Re: passing ipconfig information ** Has anyone passed the ip address and the mac address of a client machine from the midtier? This did work for the thick client but the midtier errors out. From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Frank CarusoSent: Tuesday, September 19, 2006 1:44 PMTo: arslist@ARSLIST.ORGSubject: Re: passing ipconfig information ** This works from the client. Create an active link that does a set fields $PROCESS$ into a field:$PROCESS$ cmd /c ipconfig /allHowever, you get a large block of text that is not fomratted very well. On 9/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote: ** All, Has anyone through a Run Process or maybe another method to run an ipconfig /all on a client pushing the information from the output to a field within a Remedy form? Any ideas would be appreciated. Thanks, Brandi Windows 2000 Server SQL 2000 ARS 6.3 __20060125___This posting was submitted with HTML in it___
Re: passing ipconfig information
** I have gotten the IP using the request.getRemoteAddr() function but a quick search of the web indicates that it's not possible to do through a JSP L. J. HeadSoftware EngineerRemedy Approved Consultant From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]Sent: Wednesday, September 27, 2006 2:36 PMTo: arslist@ARSLIST.ORGSubject: Re: passing ipconfig information ** Has anyone passed the ip address and the mac address of a client machine from the midtier? This did work for the thick client but the midtier errors out. From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Frank CarusoSent: Tuesday, September 19, 2006 1:44 PMTo: arslist@ARSLIST.ORGSubject: Re: passing ipconfig information ** This works from the client. Create an active link that does a set fields $PROCESS$ into a field:$PROCESS$ cmd /c ipconfig /allHowever, you get a large block of text that is not fomratted very well. On 9/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote: ** All, Has anyone through a Run Process or maybe another method to run an ipconfig /all on a client pushing the information from the output to a field within a Remedy form? Any ideas would be appreciated. Thanks, Brandi Windows 2000 Server SQL 2000 ARS 6.3 __20060125___This posting was submitted with HTML in it___ -- Frank CarusoSpecific Integration, Inc.Senior Remedy Engineerwww.specificintegration.com703-376-1249 __20060125___This posting was submitted with HTML in it___ __20060125___This posting was submitted with HTML in it___ __20060125___This posting was submitted with HTML in it___
Re: passing ipconfig information
** Has anyone passed the ip address and the mac address of a client machine from the midtier? This did work for the thick client but the midtier errors out. From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Frank Caruso Sent: Tuesday, September 19, 2006 1:44 PM To: arslist@ARSLIST.ORG Subject: Re: passing ipconfig information ** This works from the client. Create an active link that does a set fields $PROCESS$ into a field: $PROCESS$ cmd /c ipconfig /all However, you get a large block of text that is not fomratted very well. On 9/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote: ** All, Has anyone through a Run Process or maybe another method to run an ipconfig /all on a client pushing the information from the output to a field within a Remedy form? Any ideas would be appreciated. Thanks, Brandi Windows 2000 Server SQL 2000 ARS 6.3 __20060125___This posting was submitted with HTML in it___ -- Frank Caruso Specific Integration, Inc. Senior Remedy Engineer www.specificintegration.com 703-376-1249 __20060125___This posting was submitted with HTML in it___ __20060125___This posting was submitted with HTML in it___
Re: passing ipconfig information
When a wireless card is in use, the ipconfig command may not help you. You may get something like this: C:\>ipconfig /all Windows IP Configuration An internal error occurred: A device attached to the system is not functioning. Please contact Microsoft Product Support Services for further help. Additional information: Unknown media status code. Another way to get the IP of the hostname is to ping it, like this: C:\>ping -n 1 %computername% Pinging tawlap2 [88.8.25.176] with 32 bytes of data: Reply from 88.8.25.176: bytes=32 time<1ms TTL=128 Ping statistics for 88.8.25.176: Packets: Sent = 1, Received = 1, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms You still, unfortunately, have to dig through a mess of characters. I wish I you could use the "reg query" command to find it in the registry, but I don't see how you can be sure which interface is primary. Tim Widowfield [EMAIL PROTECTED] v: 937-878-9045 f: 937-878-9055 m: 937-369-7012 http://www.widowfield.com - Original Message From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: arslist@ARSLIST.ORG Sent: Tuesday, September 19, 2006 1:58:45 PM Subject: Re: [ARSLIST] passing ipconfig information Thanks Frank.. It must be still Monday for me. Thanks again. Brandi From: Action Request System discussion list( ___ UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org
Re: passing ipconfig information
** Thanks Frank.. It must be still Monday for me. Thanks again. Brandi From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Frank Caruso Sent: Tuesday, September 19, 2006 1:44 PM To: arslist@ARSLIST.ORG Subject: Re: passing ipconfig information ** This works from the client. Create an active link that does a set fields $PROCESS$ into a field: $PROCESS$ cmd /c ipconfig /all However, you get a large block of text that is not fomratted very well. On 9/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote: ** All, Has anyone through a Run Process or maybe another method to run an ipconfig /all on a client pushing the information from the output to a field within a Remedy form? Any ideas would be appreciated. Thanks, Brandi Windows 2000 Server SQL 2000 ARS 6.3 __20060125___This posting was submitted with HTML in it___ -- Frank Caruso Specific Integration, Inc. Senior Remedy Engineer www.specificintegration.com 703-376-1249 __20060125___This posting was submitted with HTML in it___ __20060125___This posting was submitted with HTML in it___
Re: passing ipconfig information
** This works from the client. Create an active link that does a set fields $PROCESS$ into a field:$PROCESS$ cmd /c ipconfig /allHowever, you get a large block of text that is not fomratted very well. On 9/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote:** All, Has anyone through a Run Process or maybe another method to run an ipconfig /all on a client pushing the information from the output to a field within a Remedy form? Any ideas would be appreciated. Thanks, Brandi Windows 2000 Server SQL 2000 ARS 6.3 __20060125___This posting was submitted with HTML in it___ -- Frank CarusoSpecific Integration, Inc.Senior Remedy Engineerwww.specificintegration.com703-376-1249 __20060125___This posting was submitted with HTML in it___
passing ipconfig information
** All, Has anyone through a Run Process or maybe another method to run an ipconfig /all on a client pushing the information from the output to a field within a Remedy form? Any ideas would be appreciated. Thanks, Brandi Windows 2000 Server SQL 2000 ARS 6.3 __20060125___This posting was submitted with HTML in it___