7

I want to get the api name of the standard field being used in Reports of Standard report types. I used describe methods to get the columns used in a report. I analysed some of standard reports containing standard fields(of both standard and custom objects).

I found that Names of those field are not same as API name of the field. For example, For Opportunity's Name I got three names in some of standard reports of Standard report types. These are: OPP_NAME, OPPORTUNITY_NAME, OPP.NAME.

Is there any mapping or something in apex using which i can get the exact field name used in report?

  • Chiming in that I'd like to get an answer to this one, as well. – M. A. Sridhar Feb 6 at 22:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.