Sweety, Once you have the Field, you can use a .getDataType(), which returns an Int, which you can then compare with DataType.* where * is the type of field that you are looking for.
On Thu, Aug 14, 2014 at 12:51 PM, Sweety Khanna <[email protected]> wrote: > Hi Misi, > > How to check the datatype of the field?? > > > On 8/8/14, Misi Mladoniczky <[email protected]> wrote: > > Hi, > > > > The ARGetMultipleFields() which will give you enough details to figure > out > > which fieldids you want. > > > > You must look at the data type of the field to determine if it is a data > > bearing field. > > > > If the data type is <= 14 the field can hold data. You should use the > > constant > > AR_MAX_STD_DATA_TYPE instead of 14 though. > > > > Best Regards - Misi, RRR AB, http://www.rrr.se (ARSList MVP > 2011) > > > > Ask the Remedy Licensing Experts (Best R.O.I. Award at WWRUG10/11/12/13): > > * RRR|License - Not enough Remedy licenses? Save money by optimizing. > > * RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs. > > Find these products, and many free tools and utilities, at http://rrr.se > . > > > >> Hello List, > >> > >> It has been a quite long I haven't talked to you guys. Hoping all are > good > >> and > >> enjoying. > >> > >> I want to fetch the list of data fields only with names and their ids. I > >> have > >> tried using method GetListField but it is giving me all the fields on > the > >> form > >> including buttons, panels etc. I want to fetch only data field details > >> from > >> API. > >> > >> Any suggestions? > >> > >> Cheers! > >> > >> > _______________________________________________________________________________ > >> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org > >> "Where the Answers Are, and have been for 20 years" > >> > > > > > _______________________________________________________________________________ > > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org > > "Where the Answers Are, and have been for 20 years" > > > > > _______________________________________________________________________________ > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org > "Where the Answers Are, and have been for 20 years" > _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years"

