Hurray!!! That worked.. One thing -> Option to make the Filed Visible is 1 and Hidden is 0.
Also I used 2 more steps at last, to update field with this dim and then commit the changes to the server using ARServerUser object. Regards, Vijayalakshmi Paulraj -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:[email protected]] On Behalf Of Carey Matthew Black Sent: Monday, February 15, 2010 6:11 PM To: [email protected] Subject: Re: Hide fields - Java api Vijayalakshmi, I have not tested this.. but I think this is correct... DisplayInstanceMap dim = Field.getDisplayInstance() ; dim.setProperty(int viewId, int propertyId, Value value); viewID = Field ID for the View of the ARS form that you want to hide the field on propertyId = public static final int AR_DPROP_VISIBLE 4 Value = public static final int AR_DISPLAY_OPT_HIDDEN 2 public static final int AR_DISPLAY_OPT_VISIBLE 1 ( Which you may need to wrap up in an com.bmc.arsys.api.Value object.) Hope that helps. -- Carey Matthew Black BMC Remedy AR System Skilled Professional (RSP) ARS = Action Request System(Remedy) Love, then teach Solution = People + Process + Tools Fast, Accurate, Cheap.... Pick two. On Mon, Feb 15, 2010 at 7:27 AM, Vijayalakshmi Paulraj <[email protected]> wrote: > > ** > Hi All, > > Can anybody give me a pointer on how to Hide/Unhide fields in a form using > Java API code.... (Just a pointer..) > Posting to a wider group - thought somebody might have already tried.. > > Thanks, > Vijayalakshmi Paulraj > > > > > > --------------------------------------------------------------------------------------------- > > This message, including any attachments, contains confidential information > intended for a specific individual and purpose, and is intended for the > addressee only. Any unauthorized disclosure, use, dissemination, copying, or > distribution of this message or any of its attachments or the information > contained in this e-mail, or the taking of any action based on it, is > strictly prohibited. If you are not the intended recipient, please notify the > sender immediately by return e-mail and delete this message. > > --------------------------------------------------------------------------------------------- > > _Platinum Sponsor: [email protected] ARSlist: "Where the Answers Are"_ _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor:[email protected] ARSlist: "Where the Answers Are" --------------------------------------------------------------------------------------------- This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is intended for the addressee only. Any unauthorized disclosure, use, dissemination, copying, or distribution of this message or any of its attachments or the information contained in this e-mail, or the taking of any action based on it, is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail and delete this message. --------------------------------------------------------------------------------------------- _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor:[email protected] ARSlist: "Where the Answers Are"

