Thanks, I could run Dumpp_Users.pl using the test server 
(remedy-test.integ.amazon.com).

Now, I'm facing another problem.  How do I know the form name which has to be 
passed while calling openForm (<form_name>).  I need to run queries on this 
form, which apparently does not have a name?  The form is here - 
http://remedy.amazon.com/tt/client-hpd.mpl

Thanks, in anticipation.
- Deepak

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Murphy
Sent: Wednesday, March 14, 2007 7:09 PM
To: ARSperl User Discussion
Subject: Re: [Arsperl-users] Perl APIs to access Remedy

On Wed, 2007-03-14 at 18:52 +0530, Parasam, Deepak wrote:
> 
> Hi all,
>       I just downloaded the ARSperl-1.90.   When I run 'perl
> Makefile.pl', it is asking me for the server name, username, and 
> password.  Can someone let me know how to get a username/password, and 
> how to know the list of valid servers?

The server, username and password is used for "make test" to load some objects 
into the server and run tests against. It's an optional step that hasn't always 
worked in the past. You should run it against a test AR server only and not a 
production server. So the answer to your question is to setup a demo server and 
specify that as the server. The default username/password for connecting to the 
Demo server is in the AR system install documentation.


> 
>       Further, my intention was to use ARSperl to access Remedy
> (http://remedy.amazon.com) and query it based on Category/type/item, 
> severity of tickets etc.,.  Can you point me to some resources where i 
> can find some examples for this?

Look in the example/ directory. Also refer to the doc. You'll probably do 
something like

$c = new ARS(server, user, pass)
$f = $c->openForm('Your Form Name');
@e = $f->query(qq{'Category' = "Apples" AND 'Status' = "Open"}); foreach (@e) {
        ($type, $item) = $f->get(-entry => $_, -fields => ['Type',
                                                           'Item']); }

There are other ways do to it, but that's probably the shortest example.




>        I checked the /examples which came along with the distribution, 
> in vain.  Also, i checked the documentation on 
> http://arsperl.org/manual/toc.html, but could not find what I needed.

The doc doesn't have a 'howto', but the AR C API guide, available from Remedy, 
may have a short tutorial. The perl API mimics, in many respects, the C API.

jeff


> 
>        Any Help ?!
> 
> Thanks,
> Deepak
> 
> 
> 
> ----------------------------------------------------------------------
> --- Take Surveys. Earn Cash. Influence the Future of IT Join 
> SourceForge.net's Techsay panel and you'll get the chance to share 
> your opinions on IT & business topics through brief surveys-and earn 
> cash 
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEV
> DEV _______________________________________________ Arsperl-users 
> mailing list Arsperl-users@arsperl.org 
> https://lists.sourceforge.net/lists/listinfo/arsperl-users


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's 
Techsay panel and you'll get the chance to share your opinions on IT & business 
topics through brief surveys-and earn cash 
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Arsperl-users mailing list
Arsperl-users@arsperl.org
https://lists.sourceforge.net/lists/listinfo/arsperl-users

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Arsperl-users mailing list
Arsperl-users@arsperl.org
https://lists.sourceforge.net/lists/listinfo/arsperl-users

Reply via email to