-
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 Automation Testing: Best Practices to Follow
Salesforce comes with multiple OOTB (out-of-the-box) features that are customizable. Just like any complex, integrated solution, quality assurance and testing are important for Salesforce. The configuration…
Salesforce Admin or Salesforce Consultant?
Salesforce is a tool that can literally revolutionize your business. For salespeople, it’s a turbocharged tool that manages the entire process from lead to closed…
Popular Salesforce Videos
Apex Scheduler Part II | Asynchronous Apex | Salesforce Video Tutorial
Asynchronous Apex 1. Apex Scheduler 2. Ways to run apex scheduler 3. Cron Expression 4. Examples Upcoming Video on Batch Apex Hope you guys enjoy…
Create Your First Salesforce App in 30 Minutes
In this session, we will design, build and deploy a Salesforce App in 30 minutes using the low code and Salesforce modern developer tooling. Presenter…
How to Become a Salesforce Developer? No Programming Experience Needed
Salesforce Developer has once again been named one of the world's best jobs. In a list of 25 job roles, Salesforce was the only company…