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
sujasuja 

Display reports, including graphs, on page layouts.

Hi,

 

There is a business requirement to display reports and graphs on page layouts, any app do we have in salesforce to do this?

 

Regards,

Suneetha

Sonam_SFDCSonam_SFDC

Hi Suja,

 

You just need to create a visualforce page which shows the report you wish to display on the standard pageand add the visualforce page as component on the standard page:

 

Visualforce page code:

 

<apex:page showHeader="false" sidebar="false">

 <apex:iframe src="/<Report ID>"/> //put your report ID in place of the red label

</apex:page>

 

 

Edit the page layout to add the Visualforce page as a section:

https://help.salesforce.com/apex/HTViewHelpDoc?id=accessing_layout_standard.htm&language=en_US