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
Divya Gupta 11Divya Gupta 11 

bind visualforce page reports with standard salesforce reports

Hi

Can we bind a report on visualforce page to salesforce standard report part? Is there any way to do the same task.
bob_buzzardbob_buzzard
You can't mash up the pages, but what you can do is execute the report programmatically through the reports and dashboards API in Apex and then use the data as the basis for your Visualforce report..

Check out the help for the reports and dashboards api in Apex:

https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_analytics_intro.htm