You need to sign in to do that
Don't have an account?
The Real Jonah Hust
Embedded Chart in Visualforce Page Not Working
I am attempting to embed a chart in a visualforce page that will reside on the a Case Page Layout. I have a couple of others that work perfectly, but this one I cant quite figure it out.
If you click where the chart would be in the visualforce page, it takes you to the chart and populates the filters flawlessly, but on the visualforce page, it displays nothing.
Any ideas?
Code:
<apex:page standardController="case">
<script type="text/javascript">
function Click(){
var url = '/00O1R000007i2rV?pn1=eq&pv1={!Case.Contact.name}';
window.parent.location = url;
}
</script>
<apex:outputLink onclick="Click();">
<analytics:reportChart reportId="00O1R000007i2rV" size="tiny"
cacheResults="false"
filter="{column:'CONTACT.NAME',operator:'equals',value:'{!Case.Contact.Name}'}">
</analytics:reportChart>
</apex:outputLink>
</apex:page>
If you click where the chart would be in the visualforce page, it takes you to the chart and populates the filters flawlessly, but on the visualforce page, it displays nothing.
Any ideas?
Code:
<apex:page standardController="case">
<script type="text/javascript">
function Click(){
var url = '/00O1R000007i2rV?pn1=eq&pv1={!Case.Contact.name}';
window.parent.location = url;
}
</script>
<apex:outputLink onclick="Click();">
<analytics:reportChart reportId="00O1R000007i2rV" size="tiny"
cacheResults="false"
filter="{column:'CONTACT.NAME',operator:'equals',value:'{!Case.Contact.Name}'}">
</analytics:reportChart>
</apex:outputLink>
</apex:page>