function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
samanth kumar 11samanth kumar 11 

how to retreive fields in report

I have a perticular report i need to retrieve the fields in the report. Their is any way we can retrive the fields using soql or any other way
@Karanraj@Karanraj
You can able to get report metadata using the using Reports and Dashboard REST API in salesforce
Check this link - https://developer.salesforce.com/docs/atlas.en-us.api_analytics.meta/api_analytics/sforce_analytics_rest_api_get_reportmetadata.htm
 
Mahesh DMahesh D
Hi Sumanth,

Can you provide more explanation of your issue.

In general, if you open the report, it will take you to Report Builder where you can modify the report by adding or removing the fiels. Also you can add filters to it.

Regards,
Mahesh