AnsweredAssumed Answered

QueryTask Results Alias Names Display

Question asked by mkoneya on Nov 1, 2016
Latest reply on Nov 2, 2016 by mkoneya

I am using the QueryTask and would like to use the Alias in the results rather than the field names.   The documentation sounds like I can do this


You must use the actual field names rather than the alias names, but you can use the alias names later when you display the results.


but I could not find an example for doing this programmatically.


Can someone provide an example of using the Alias Names rather than the Field names in the results from the Query Task?