Actually the Java API does have a similar enhancement in 7.01.00 (which is currently in Beta). The expandMenu method has overload(s) that accepts the field value list and keyword value list and performs the value substitutions (in the qualification/SQL command/server/form names -- if field id's were specified in the Menu object definition) and only then the appropriate menu expansion happens. Thus it is pretty darn easy to expand a menu and get its content by performing just-in-time value substitution. [BTW, Carey -- your TestingMenus.zip is now part of the unit tests for the menu expansion APIs. :-) Thanks.]
Now going back to Anoop's original question -- I am not too sure if it indeed pertains to menus specifically, although it does sound like that. If it is not, I would look at getListEntryWithFields API call in Java API to issue a search, with the Type field in list of field ids to get values for, and have the qualification involving category. Or, perhaps, getListSql to do similar search but at the raw table level to get the distinct Type field values. Appajee -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Carey Matthew Black Sent: Friday, May 11, 2007 12:00 PM To: [email protected] Subject: Re: Retrieving a Type field depending on a particular Category using API. I think there is a more direct "API" way, but it is more than a bit complex and the nature of how it is done depends on which "API" the user is using. I will assume the C API until a different API is specified. I believe that the ARExpandCharMenu API will let the user specify all of the "inputs" for a search menu and get back the content for the menu. You just have to figure out how to pass in the right stuff. (Which I am afraid I am of no help on the details.) I remember some discussion about how the Remedy released .Net API did this type of thing on ARSList a while ago. (6 months? a year?) So the archives might provide an answer if your using that API. -- 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 5/11/07, Axton <[EMAIL PROTECTED]> wrote: > Take a look at the menu for the Type field, you want to perform a > GLEWF that matches what that menu does. > > Axton Grams > > On 5/11/07, Anoop Sasidharan <[EMAIL PROTECTED]> wrote: > > ** > > > > Listers, > > > > Is there a API for Retrieving a Type field depending on a particular > > Category using API.Appreciate if you could share with me. > > > > Thanks > > Anoop ________________________________________________________________________ _______ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers Are" _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers Are"

