You need to sign in to do that
Don't have an account?
Vaibhav Jain 13
Embedding Report(Without any Chart) on a Visualforce page
Hie
I want to embed or to display a report on my VF page. Report doesn't contain any chart.
I used the tag<analytics reportchart reportID/> but it shows the error that The report chart is unavailable because the report's format is not summary or matrix.
I also tried to use <apex iframe tag> to embed report on my page but it is also not displaying anything.
Could you tell me how I can display a report(summary or tabular or matrix) on a VF page?
Thanks in advance.
I want to embed or to display a report on my VF page. Report doesn't contain any chart.
I used the tag<analytics reportchart reportID/> but it shows the error that The report chart is unavailable because the report's format is not summary or matrix.
I also tried to use <apex iframe tag> to embed report on my page but it is also not displaying anything.
Could you tell me how I can display a report(summary or tabular or matrix) on a VF page?
Thanks in advance.
Make sure you have a valid summary or matrix report. You can follow this (http://peterknolle.com/apex-analytics-api-and-report-chart-component/) detailed tutorial on how to include such reports in your pages.
If my answer helps resolve your query, please mark it as the 'Best Answer' & upvote it to benefit others and improve the overall quality of Discussion Forums.
Gaurav Kheterpal
Certified Force.com Developer| Salesforce Mobile Evangelist| Developer Forums Moderator| Dreamforce Speaker
http://salesforce.stackexchange.com/questions/33003/reports-embedded-in-visualforce-not-showing/85676#85676
I'm trying to replicate your solution in my code. Currently, I'm getting Error: Unknown property 'Contact.id' referenced in Bid_List.
Could you perhaps provide some insight into what Contact.id is calling in? I am trying to embed a Tabular Report based off Opportunity data into a VF page. Even when I replace that part with Opportunity.id I get the same error.
Dave, you were correct. (I'm kinda new at VF)
I have added the Opportunity controller into my code (since the report I am trying to run is based off Opportunity data). However, the report is also a custom report type labeled "Project." Does this make a difference? When previewing the page, only the pageblocksection area comes up.
I've attached my code!
When defining the controller, would it remain as Opportunity? Attempting to define the controller as Project, an error is shown.
Check if your report is a summary or matrix type or create your own chart with the documentation below:
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_charting_overview_simple_example.htm
or as an example, i made this one in a visualforce page:
Where "simulacion" is a variable of type: simulacion__c which refers a custom object i made.
and my VF page:
at the moment, when displaying a chart into a visualforce with SLDS the colors are not displaying, but when using normal visualforce does.