You need to sign in to do that
Don't have an account?

I have a dashboard report , I need it to be displayed on vf page.
<!-- This is the vf page code i wrote -->
<apex:page sidebar="false">
<apex:pageBlock title="My Content" mode="edit">
<apex:pageBlockSection title="My Content Section" columns="2">
<apex:outputPanel id="SalesfunnelDashboard" >
<script>
window.location.href="https://rishabhdomain-dev-ed.my.salesforce.com/01Z7F000000mFeg";
</script>
</apex:outputPanel>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:page>
<apex:page sidebar="false">
<apex:pageBlock title="My Content" mode="edit">
<apex:pageBlockSection title="My Content Section" columns="2">
<apex:outputPanel id="SalesfunnelDashboard" >
<script>
window.location.href="https://rishabhdomain-dev-ed.my.salesforce.com/01Z7F000000mFeg";
</script>
</apex:outputPanel>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:page>
Sorry for this issue you are encountering.
May I suggest you please check with below link from the forums community with a similar discussion which might help you.
- https://developer.salesforce.com/forums/?id=906F0000000DEjUIAW
Please let us know if this helps.Kindly mark this as solved if the reply was helpful.
Thanks,
Nagendra