Sweety, As I don't use the .NET, I can't give direct help, but in the Java version, there in a way to specify which attributes of a field you want to pull back, with the default being 'all'...if all you are looking for is those 3 attributes, but you are pulling back ALL attributes of all fields, needless to say, you are pulling back WAY more data than you want, so if you can figure out how to limit the attributes returned to the 3 you are looking for, it'll greatly increase your performance.
Now, relating to the 'label', this is also a field attribute, but is part of an attribute map, because there is 1 label for each view of the form, based on the ID's of the views, so, you will need to do a 'for' within your current for loop to pull out each of the labels, and likely store those in an array, hash, etc, but the information should be available in what you are already pulling back. On Wed, Aug 20, 2014 at 9:00 AM, Sweety <[email protected]> wrote: > I am using .Net APIs for this program. Below program is working fine but > it is taking 5 to 10 minutes to fetch the fields. > > Dim Result = Access.server.GetAllFields("HPD:Help Desk").Values > Dim name, Id As String > Dim Datatype As Integer > For Each VARIABLE In Result > name = (DirectCast(VARIABLE, BMC.ARSystem.Field).Name) > Id = (DirectCast(VARIABLE, BMC.ARSystem.Field).Id) > Datatype = (DirectCast(VARIABLE, > BMC.ARSystem.Field).DataType) > Next > > One more thing, I want to know the field label names of a view. How can I > do that? > > > _______________________________________________________________________________ > 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"

