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
hamad_amaralhamad_amaral 

Exporting reports

Hi All,

 

I need export reports results from salesforce.com to my intranet database.

 

I know I can, for example, create a "page" with a report, add a button to call an APEX class to export the report to my database via web service. But I need this functionality available to all reports (existing and new reports) so I think the best approach is:

 

1. add a button "export to intranet" to the default set of report buttons (Run Report, Hide Details, Save As etc);

 

2. that "export to intranet" button should call an APEX class and send the report data (xml?)

 

3. the APEX class will run a web service on my intranet

 

Is that approach possible? What do I need to do that? Do I need create an salesforce application? 

 

 

I appreciate any help. 

 

Thanks in advance.