Wow...that's a bit of screwed up way of doing it....but I guess it'll work. Here is how it works.
There is an 'Enabled' flag for both Audit and Archive. If Enabled, the form is Auditing/Archiving respectively. If however the Audit/Archive is disabled, you then need to check the Audit Style and see if it's set...if so then you know that the form is being used as an Audit form. If Archiving is disabled and there is a value in the 'fromForm' attribute, then this is an Archive form, wow....thank you for the suggestion on how to troubleshoot this as I've been beating myself up trying to figure this one out....I now know how to code the display of this particular information. -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Carey Matthew Black Sent: Tuesday, February 12, 2008 8:40 AM To: [email protected] Subject: Re: Java 7.1 Form Information LJ. I have not gone looking for these specific bits... but.. In general... when trying to understand ARS API/objects I have found it very valuable to export the objects in question and look at the output def file. for differences. For example... export a def file of a form before you make it another forms "Audit" form. Then grab another export after you made that change. The differences should stand out and help you figure out what part of the object properties changed so that you can then try to find the right C API stuff that match to those differences. Hopefully that approrach will help you find what your looking for. ( Note: It is possible that those "bits" only live in the ARS server and not in the object def's themselves. The server might determine those things are startup and never write them down, or expose it's opinion of those objects to the API layer that we know. But I doubt that is a likely condition. ) Good luck. -- Carey Matthew Black Remedy Skilled Professional (RSP) ARS = Action Request System(Remedy) Love, then teach Solution = People + Process + Tools Fast, Accurate, Cheap.... Pick two. On Feb 12, 2008 10:12 AM, LJ Longwing <[EMAIL PROTECTED]> wrote: > Right...I am using those two properly to tell me which form is being > used for Audit/Archive, what I'm looking for however is to find out > how to tell that 'THIS' form is an Audit/Archive form. <snip> > On Di, Februar 12, 2008 04:29, LJ Longwing wrote: > > I'm trying to get information out of the API and I'm once again > > lost...I was hoping someone could help me. I'm trying to find where > > 'Audit' and 'Archive' type is stored. When I use the .getFormType() > > method on the Form object I get 1 which equates to 'Regular', which > > is of course accurate because it is a regular form, but the Admin > > tool shows Audit and Archive as the form type so I know it's in > > there somewhere. Any assistance is appreciated. ____________________________________________________________________________ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

