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
Anjireddy BapathuAnjireddy Bapathu 

How to bind the Custom reports in visual force pages

Hi all,

 

 

How to bind the Custom reports in visual force pages?

 

Thanks

Navatar_DbSupNavatar_DbSup

Hi,

 

This is not possible to bind Custom report in visual force page.

 

You can create a custom page and controller to generate the report format you want, including exporting the data to excel and/or PDF.

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved. 

bob_buzzardbob_buzzard

You can include the custom report into a visualforce page via an iframe. 

 

Something like:

 

<apex:page>
   <!-- your code here -->

   <apex:iframe src="/00O80000003lvpw" />
</apex:page>

  where you'd replace the id with that of your custom report.

Amit Singh1989Amit Singh1989

Bob,

can we generarte pdf format for any custom report in salesforce.

if yes then how?

 

i have created a custaom report for Job (Custom object) but while i go to report detail page i am getting a button "Printable view",by clicking on this button i am getting onle csv and xls format. but i need a pdf format. how can i do this?

 

 

Thanks

Amit Singh