Re: JAVA API code - Figuring out what is in a Selection field
Check these out... http://communities.bmc.com/communities/message/80328?tstart=0 http://communities.bmc.com/communities/message/69002;jsessionid=6D5C8E6C4E2040625EA2A28E5108F74C //1. get the field defiintion to get at the limit definition SelectionFieldLimit limit = ((SelectionField)context.getField(form, 7)).getLimit(); // or some thing like that. // your code to get an entry ListEntry entries = context.getListEntryObjects(form, qualification, 0, 999, null, fieldIDsToRetrieve, false, matches); Entry entry = entries.get(0); int val = entry.get(7).getValue(); //Now match this int value to the enumeration using the 'limit' // doing this lookup in Java API is more type-safe, in .NET API isn't bad either // just look at the 'limit' object in your VS.NET debugger to get what you need! HTH appajee ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug10 www.wwrug.com ARSlist: Where the Answers Are
JAVA API code - Figuring out what is in a Selection field
Has anyone written code in Java that can figure out the values/IDs in a selection field as long as the field ID is provided? Thanks, -- -Ibrahim Akar The foregoing e-mail communication (together with any attachments thereto) is intended for the designated recipient(s) only. Its terms are Confidential and may be protected by Attorney/Client, or other applicable, privilege. Unauthorized use, dissemination, distribution, or reproduction of this message is Strictly Prohibited. PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug10 www.wwrug.com ARSlist: Where the Answers Are
Re: JAVA API code - Figuring out what is in a Selection field
Yea, what ya need? From: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] On Behalf Of Ibrahim Akar Sent: Friday, April 23, 2010 10:30 AM To: arslist@ARSLIST.ORG Subject: JAVA API code - Figuring out what is in a Selection field ** Has anyone written code in Java that can figure out the values/IDs in a selection field as long as the field ID is provided? Thanks, -- -Ibrahim Akar The foregoing e-mail communication (together with any attachments thereto) is intended for the designated recipient(s) only. Its terms are Confidential and may be protected by Attorney/Client, or other applicable, privilege. Unauthorized use, dissemination, distribution, or reproduction of this message is Strictly Prohibited. PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL _attend WWRUG10 www.wwrug.com ARSlist: Where the Answers Are_ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug10 www.wwrug.com ARSlist: Where the Answers Are
Re: JAVA API code - Figuring out what is in a Selection field
Did you check this? I havent tried it...but it looks like this is what you are looking for? http://www.javasystemsolutions.com/documentation/thirdparty/arapiv75/com/bmc/arsys/api/SelectionField.html#SelectionField%28%29 Thnx Chintan. --- On Fri, 4/23/10, Ibrahim Akar i...@pyrasoft.com wrote: From: Ibrahim Akar i...@pyrasoft.com Subject: JAVA API code - Figuring out what is in a Selection field To: arslist@ARSLIST.ORG Date: Friday, April 23, 2010, 9:30 AM ** Has anyone written code in Java that can figure out the values/IDs in a selection field as long as the field ID is provided? Thanks, -- -Ibrahim Akar The foregoing e-mail communication (together with any attachments thereto) is intended for the designated recipient(s) only. Its terms are Confidential and may be protected by Attorney/Client, or other applicable, privilege. Unauthorized use, dissemination, distribution, or reproduction of this message is Strictly Prohibited. PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL _attend WWRUG10 www.wwrug.com ARSlist: Where the Answers Are_ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug10 www.wwrug.com ARSlist: Where the Answers Are