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
Garrett SamuelsGarrett Samuels 

Embedding Report Charts in Visualforce Page

Found this article: 

http://docs.releasenotes.salesforce.com/he-il/spring14/release-notes/rn_analytics_vf_charts.htm

Used this code: 

<apex:page>
<analytics:reportChart reportId="00O19000000K7SF”></analytics:reportChart>
</apex:page>

Received this error: 

Error Error: Embedded_Report line 2, column 51: The value of attribute "reportId" associated with an element type "analytics:reportChart" must not contain the '<' character
Error Error: The value of attribute "reportId" associated with an element type "analytics:reportChart" must not contain the '<' character.


Essentially I want to be able to embed additional report charts in the Account detail page - Embedded Analytics functionality only allows for 2 charts... Please help!!


bob_buzzardbob_buzzard
This usually means that you haven't closed the reportId attribute correctly - i.e. opened with a single quote and closed with a double or vice versa.  I've pasted the code snippet into my dev org and it looks to be the closing double quote - this is an angled quote (the sort of thing that word produces) - if you overwrite this with a double quote from the keyboard it should compile.