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
SAP_CRMSAP_CRM 

How to call a custom report into Account detail page

Hello Experts,
I wish to call a custom report displaying the Account balance for the Account into the Account detail page. I wonder if the best way to achieve this is through a visualforce page?
The code i wrote is:
<apex:page >
  <apex:iframe src="/00O0Y0000035iya" height="600px" rendered="true" scrolling="false" id="theIframe"/>
</apex:page>

All this does is, displays a blank page. I wonder what am I missing? Also how do I pass the Account name as a parameter for the called report?

Regards,
Suhel
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Suhel,

May I suggest you please refer the below link for reference. hope it helps.

Please mark it as best answer if the information is informative.so that question is removed from an unanswered question and appear as a proper solution.

Thanks
Rahul Kumar
SAP_CRMSAP_CRM
Hi Rahul,
Thanks for your reply. 
Those links are more about Custom Links. What I am after is, displaying a report showing the account balance (custom report) in the Account details page.
I tried this code and this just displayes a blank page.
<apex:page >
  <apex:iframe src="/00O0Y0000035iya" height="600px" rendered="true" scrolling="false" id="theIframe"/>
</apex:page>

Thanks for your time.
Suhel