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 - 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 :)

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(user, password, null, server, port);

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

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

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 simply queries

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

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,

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. --

Re: Java API Question

2008-11-24 Thread LJ Longwing
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'm using the 7.1

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 Question

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

Re: Resolved: Remedy JAVA api question

2008-04-03 Thread Axton
: [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 loading 32-bit native libraries using a 64-bit jvm may be the source of your invalid

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 error and can't

FW: Remedy JAVA api question

2008-04-01 Thread Matthew Kunkel
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 running on AIX, whereas I'm most

Re: FW: Remedy JAVA api question

2008-04-01 Thread James Van Sickle
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 can't seem to find anything. We get the same result on both the 6.3 and 7.0

OzZY: Remedy JAVA api question

2008-04-01 Thread Tadeu Augusto Dutra Pinto
, 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 against the java binary, what do you get back? e.g

Re: FW: Remedy JAVA api question

2008-04-01 Thread Axton
, no windows. 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

Re: FW: Remedy JAVA api question

2008-04-01 Thread Matthew Kunkel
, 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 executable SPARC

Re: OzZY: Remedy JAVA api question

2008-04-01 Thread Matthew Kunkel
] 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 testing

Re: FW: Remedy JAVA api question

2008-04-01 Thread Axton
. Thanks, Matt -- *From:* Action Request System discussion list(ARSList) [mailto: [EMAIL PROTECTED] *On Behalf Of *Axton *Sent:* Tuesday, April 01, 2008 1:04 PM *To:* arslist@ARSLIST.ORG *Subject:* Re: FW: Remedy JAVA api question ** If you run file against

Resolved: Java API Question Regarding fields of type Enum

2007-11-08 Thread Garrison, Sean (Norcross)
(). 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 in question (using

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