-
Apex Page with analytics:reportChart in a Managed Package
I want to deploy an Apex Page that references a Report with analytics:reportChart in a Managed Package. The Report is also included in the Managed Package.
This issues arises when the Apex Page needs to reference the reportID. The reportID will be different in every installed Managed Package. Any ideas on how I make this reference dynamic in the package?
This is what my code looks like:
<apex:page standardController="Account">
<analytics:reportChart reportId="00Oe0000000aeYn" size="small"> </analytics:reportChart>
</apex:page>
Log In to reply.
Popular Salesforce Blogs

Salesforce Rest API Integration with Neverbounce
Let’s learn how you can integrate our Salesforce org with Neverbounce and get the status of the emails of Contact records. First, you need to…

How to Choose a Cloud Platform for Your Business App? | Salesforce Guide
Using cloud technologies has become a common thing for businesses. But before starting with that, the need is to find the right cloud platform for…
Popular Salesforce Videos
In App Guidance | Salesforce Tutotial
In this video, we take a look at one of the new features from the Salesforce Summer '19 release - In-App Guidance. We explain what…
What is Validation Rule in Salesforce?
Validation rules verify that the data a user enters in a record meets the standards you specify before the user can save the record. A…
How to Get Your Data In and Get Insights Out | Salesforce Essentials
Organize all your data with Salesforce Essentials. With a quick and easy import, you’ll be able to manage your business and watch it grow. Essentials…