Re: Java API question - how to save a filter

2012-04-07 Thread John Sundberg
(Found my own answer) -- actually - walked away from the computer -- did some dishes -- then thought uggg - the user needs to save it -- not the filter itself… Often the best way to solve a problem - is to walk away from the computer. My wife would say -- would be to do some dishes :) user.setF

Java API question - how to save a filter

2012-04-07 Thread John Sundberg
Java ARS API 7.6 Any idea how to "save a filter"…. f = user.getFilter("SomeSampleFilter") f.setHelpText("John was here") f.save ??? f.commit ??? f. I looked through the docs -- couldn't find anything …. I may have totally missed it. ??? -John -- *John Sundberg* Kinetic Data, Inc

Re: Java API Question

2009-01-27 Thread LJ Longwing
...@arslist.org] On Behalf Of Lyle Taylor Sent: Tuesday, January 27, 2009 11:30 AM To: arslist@ARSLIST.ORG Subject: Java API Question ** Hi All, I'm trying to get started using the Java API and am running into something I don't understand. I have the following code that simp

Re: Java API Question

2009-01-27 Thread Lyle Taylor
API Question ** http://www.mail-archive.com/arslist@arslist.org/msg26634.html Axton Grams The opinions, statements, and/or suggested courses of action expressed in this E-mail do not necessarily reflect those of BMC Software, Inc. My voluntary participation in this forum is not intended to

Re: Java API Question

2009-01-27 Thread Axton
http://www.mail-archive.com/arslist@arslist.org/msg26634.html Axton Grams The opinions, statements, and/or suggested courses of action expressed in this E-mail do not necessarily reflect those of BMC Software, Inc. My voluntary participation in this forum is not intended to convey a role as a sp

Java API Question

2009-01-27 Thread Lyle Taylor
Hi All, I'm trying to get started using the Java API and am running into something I don't understand. I have the following code that simply queries CMT:People for everybody that has Unrestricted Access: ARServerUser srv = new ARServerUser(, , null, , ); try {

Resolved: Java API Question

2008-11-24 Thread Phil Murnane
Thanks, everyone, for your suggestions.  I think I'll go with trapping the error off a getField() call. Thanks Again, --Phil - Original Message From: LJ Longwing <[EMAIL PROTECTED]> To: arslist@ARSLIST.ORG Sent: Monday, November 24, 2008 10:54:27 AM Subject: Re: Java API Q

Re: Java API Question

2008-11-24 Thread LJ Longwing
ginal Message- From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Phil Murnane Sent: Monday, November 24, 2008 10:12 AM To: arslist@ARSLIST.ORG Subject: Java API Question I'm using the 7.1 Java API to create a new field on a form.  Be All: I'

Re: Java API Question

2008-11-24 Thread Carey Matthew Black
Phil, I think your looking in the wrong class... com.bmc.arsys.api.ARServerUser.getField(String form, int fieldId) In this case I think you want the getField to throw an com.bmc.arsys.api.ARException ( if object is not loaded) then you add the field you want in the catch block. :) HTH. -- Ca

Re: Java API Question

2008-11-24 Thread Thilo Stapff
It is probably not necessary to check beforehand if a field with the same ID doesn't exist. If it does, the create function should fail and throw an exception (most likely ARERR 407, Duplicate field or VUI-ID in the definition), which your program then might catch and handle somehow. Regards,

Java API Question

2008-11-24 Thread Phil Murnane
I'm using the 7.1 Java API to create a new field on a form.  Be All: I'm using the 7.1 Java API to create a new field on a form.  Before creating the field, I'd like to make sure a field with the same Field ID does not already exist.  I found the isPresent() method of the Field object in the ja

Re: Resolved: Remedy JAVA api question

2008-04-03 Thread Axton
* Action Request System discussion list(ARSList) [mailto: > [EMAIL PROTECTED] *On Behalf Of *Axton > *Sent:* Tuesday, April 01, 2008 8:32 PM > *To:* arslist@ARSLIST.ORG > *Subject:* Re: FW: Remedy JAVA api question > > ** Try using a 32-bit jvm. I am not positive on this, but loadi

Resolved: Remedy JAVA api question

2008-04-03 Thread Matthew Kunkel
. Thanks for the help! Matt From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Axton Sent: Tuesday, April 01, 2008 8:32 PM To: arslist@ARSLIST.ORG Subject: Re: FW: Remedy JAVA api question ** Try using a 32-bit jvm. I am not

Re: FW: Remedy JAVA api question

2008-04-01 Thread Axton
t; head this is on another platform, but it's AIX all the way. > > Thanks, > Matt > > -- > *From:* Action Request System discussion list(ARSList) [mailto: > [EMAIL PROTECTED] *On Behalf Of *Axton > *Sent:* Tuesday, April 01, 2008 1:04 PM &

Re: OzZY: Remedy JAVA api question

2008-04-01 Thread Matthew Kunkel
ECTED] On Behalf Of Tadeu Augusto Dutra Pinto Sent: Tuesday, April 01, 2008 1:20 PM To: arslist@ARSLIST.ORG Subject: OzZY: Remedy JAVA api question Hey, Have you already resolve your problem with Java API ? I had an experience with this error ... My AR Server is AIX too ... but I was test

Re: FW: Remedy JAVA api question

2008-04-01 Thread Matthew Kunkel
n Sent: Tuesday, April 01, 2008 1:04 PM To: arslist@ARSLIST.ORG Subject: Re: FW: Remedy JAVA api question ** If you run file against the java binary, what do you get back? e.g., [EMAIL PROTECTED] c]$ which java /usr/bin/java [EMAIL PROTECTED] c]$ file /usr/bin/java /usr/bin/java: ELF 32-bit MSB e

OzZY: Remedy JAVA api question

2008-04-01 Thread Tadeu Augusto Dutra Pinto
--- Confiabilidade, Inovação e Qualidade em T.I. De: Action Request System discussion list(ARSList) em nome de Axton Enviada: ter 1/4/2008 15:04 Para: arslist@ARSLIST.ORG Assunto: Re: FW: Remedy JAVA api question ** If you run file again

Re: FW: Remedy JAVA api question

2008-04-01 Thread Axton
fused. The whole app runs on a 64 bit AIX platform, no windows. > > Thanks, > Matt > > -- > *From:* Matthew Kunkel > *Sent:* Tuesday, April 01, 2008 9:46 AM > *To:* 'arslist@ARSLIST.ORG' > *Subject:* Remedy JAVA api question > >

Re: FW: Remedy JAVA api question

2008-04-01 Thread James Van Sickle
9:46 AM To: 'arslist@ARSLIST.ORG' Subject: Remedy JAVA api question List, We're getting the error below when trying to use the JAVA api on a windows platform. This particular program is running on AIX, whereas I'm most familiar with HP-UX. I've googled the error and ca

FW: Remedy JAVA api question

2008-04-01 Thread Matthew Kunkel
Thanks, Matt From: Matthew Kunkel Sent: Tuesday, April 01, 2008 9:46 AM To: 'arslist@ARSLIST.ORG' Subject: Remedy JAVA api question List, We're getting the error below when trying to use the JAVA api on a windows platform. This particular program is ru

Re: Remedy JAVA api question

2008-04-01 Thread LJ Longwing
emedy JAVA api question ** Are you using a 32-bit or a 64-bit version of java? The interesting thing is that the error indicates you are trying to load the AIX libs on a windows platform, if indeed this error is from the windows host. I would expect to see libarjni70.dll on the windows host

Re: Remedy JAVA api question

2008-04-01 Thread Axton
Are you using a 32-bit or a 64-bit version of java? The interesting thing is that the error indicates you are trying to load the AIX libs on a windows platform, if indeed this error is from the windows host. I would expect to see libarjni70.dll on the windows host, not libarjni70.a. Axton Grams

Re: Remedy JAVA api question

2008-04-01 Thread LJ Longwing
: Tuesday, April 01, 2008 8:46 AM To: arslist@ARSLIST.ORG Subject: Remedy JAVA api question ** List, We're getting the error below when trying to use the JAVA api on a windows platform. This particular program is running on AIX, whereas I'm most familiar with HP-UX. I've googled the

Remedy JAVA api question

2008-04-01 Thread Matthew Kunkel
List, We're getting the error below when trying to use the JAVA api on a windows platform. This particular program is running on AIX, whereas I'm most familiar with HP-UX. I've googled the error and can't seem to find anything. We get the same result on both the 6.3 and 7.0 versions of the API

Resolved: Java API Question Regarding fields of type Enum

2007-11-08 Thread Garrison, Sean (Norcross)
tring()". Sean From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Papolu, Appajee Sent: Wednesday, November 07, 2007 6:09 PM To: arslist@ARSLIST.ORG Subject: Re: Java API Question Regarding fields of type Enum ** Get the definition of the field i

Re: Java API Question Regarding fields of type Enum

2007-11-07 Thread Papolu, Appajee
ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Garrison, Sean (Norcross) Sent: Wednesday, November 07, 2007 2:17 PM To: arslist@ARSLIST.ORG Subject: Java API Question Regarding fields of type Enum Someone else has written the java code and I am trying to assist him w/ a problem. He is trying

Java API Question Regarding fields of type Enum

2007-11-07 Thread Garrison, Sean (Norcross)
Someone else has written the java code and I am trying to assist him w/ a problem. He is trying to get the enum values for a field in a string format ... unfortunately it returns the integer value instead. So if I have this: 0 = Enum1 1= Enum2 2 = Enum3 Here is an example of the call he is cu