**

Thanks all for the information.  It ended up being I had to put the <SCRIPT src="" language="_javascript_"></SCRIPT>

 In the header instead of the footer.

Issue resolved.

Thanks again.

 


From: Action Request System discussion list(ARSList) [mailto:[email protected]] On Behalf Of Grooms, Frederick W
Sent: Thursday, September 28, 2006 9:25 AM
To: [email protected]
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:[email protected]] On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, September 27, 2006 6:25 PM
To: [email protected]
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:[email protected]] On Behalf Of Grooms, Frederick W
Sent: Wednesday, September 27, 2006 5:03 PM
To: [email protected]
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):

 

<SCRIPT src="" language="_javascript_"></SCRIPT>

 


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 PM
To: [email protected]
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:[email protected]] On Behalf Of Frank Caruso
Sent: Tuesday, September 19, 2006 1:44 PM
To: [email protected]
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___

Reply via email to