Re: [Arsperl-users] Perl APIs to access Remedy
Brought to you by:
jeffmurphy
|
From: Parasam, D. <dee...@am...> - 2007-03-16 04:52:05
|
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: ars...@ar... = [mailto:ars...@ar...] 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: >=20 > 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=20 > 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. >=20 > Further, my intention was to use ARSperl to access Remedy > (http://remedy.amazon.com) and query it based on Category/type/item,=20 > 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 =3D new ARS(server, user, pass) $f =3D $c->openForm('Your Form Name'); @e =3D $f->query(qq{'Category' =3D "Apples" AND 'Status' =3D "Open"}); = foreach (@e) { ($type, $item) =3D $f->get(-entry =3D> $_, -fields =3D> ['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=20 > 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 >=20 > Any Help ?! >=20 > Thanks, > Deepak >=20 >=20 >=20 > ---------------------------------------------------------------------- > --- Take Surveys. Earn Cash. Influence the Future of IT Join=20 > SourceForge.net's Techsay panel and you'll get the chance to share=20 > your opinions on IT & business topics through brief surveys-and earn=20 > cash=20 > = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEV > DEV _______________________________________________ Arsperl-users=20 > mailing list Ars...@ar...=20 > 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=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV _______________________________________________ Arsperl-users mailing list Ars...@ar... https://lists.sourceforge.net/lists/listinfo/arsperl-users |