All you need to do is call ars_MergeEntry and change the Status field to the
value representing 'Closed'. E.g. you would write:
my $response = ars_MergeEntry(
$ctrl,
$schema,
1028,
1,
$ticket_number,
$status_field_id,
N
);
where N is the numeric value
All,
we currently have an issue with ARS perl and setting up the connection
with our Remedy server.
With this sample script we are trying to connect to the server:
use strict;
my ($server, $account, $password, $port) = (my-server.wanadoo.nl, username,
passwd, 20320);
my $c =
Can anyone help me with the syntax for passing arguments to a cgi program via
the unix command line? Someone else is writing the web interface to the program
and I don't want to wait to get the debugging started.
Thanks!
Looks like we don't have that installed here. I'll have to see what I can do.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Axton
Sent: Tuesday, November 13, 2007 10:44 AM
To: ARSperl User Discussion
Subject: Re: [Arsperl-users] Manually passing
Steve,
Are you using the CGI Perl module version 2.57 or later? If so, you
can pass the parameters on the command line:
./foo.cgi ticket=25314 action=close user=joeuser key=5df83sk3
Another option is to use the debug flag in your cgi:
use CGI qw( -debug );
This should make the script prompt
As far as I understood, we should be able to connect eventhough we are
using the 7.0 API and are using 6.3 on our Remedy server.
I'm not sure about this. It should certainly work to run the 6.3 API
against a 7.0 server, but not necessarily the other way round.
Regards,
Thilo
Steve,
Joe has the right idea. Just do as he says and you should be golden.
The docs for the CGI module are on the command line at perldoc CGI
or can be found online at search.cpan.org
--
Clayton Scott
[EMAIL PROTECTED]
Works like a charm, thanks!
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joseph Kubasek
Sent: Tuesday, November 13, 2007 11:36 AM
To: ARSperl User Discussion
Subject: Re: [Arsperl-users] Manually passing arguments to a cgi program
Steve,
Are you
8 matches
Mail list logo