• Cory Perry
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Hi all, I have two embedded charts in a custom VF page that is then displayed on the Account detail screen. I'm passing the correct parameters and the reports work fine and display fine on the Account detail page.

What I like to do, however, is instead have a text link and those reports open up in a new window. Can embedded charts open in a new window and I pass the correct parameters via the URL?

I can get the reports to display in a new window fine, but I am unclear how to pass the correct filters in my link so the reports actually display the correct data:
<a href="/apex/getIndustryAccountReports?vID={!Account.ID}" target="_blank">

Are there certain ways I have to do this so that the reports in the new window get passed the correct filters? Thanks!!
Hello, 

We are using Embedded Analytics to display two charts on the account detail page. Two is the maximum for this feature. I need to add a third chart, and found the solution to be quite simple, just create a visual force page with the below markup: 
<apex:page standardController="Account">
<analytics:reportChart reportId="00Oe0000000aeYn" size="small"></analytics:reportChart>
</apex:page>
Now that I have done that, I would like to be able to filter the chart/source report by the account the user is viewing. This is a built in functionality in Embedded Analytics. Does anybody know of some code I could add to the above to make the displayed chart filtered by the account the user is viewing? 

Your help is greatly appreciated!!

Thanks,

Garrett