How to display Dashboard in visualforce page in Salesforce?

How to display Dashboard in visualforce page in Salesforce?

<apex:iframe> can be used to display Dashboard in visualforce page in Salesforce.

Sample Visualforce Page:

<apex:page >
<apex:iframe src="/01ZU0000000NHAt" scrolling="true" id="theIframe"/>
</apex:page>

Here src is the source of the Dashboard. See the below figure to get the Dashboard URL.

Leave a Reply