-
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

Apex Triggers Unit in Salesforce - The Trailhead Guide
Apex Triggers Triggers are used to perform custom actions that are executed when a specific event takes place, it can be either before or after…

Shaping Customer Experience in Banking with Salesforce
Just like any other industry, banking these days faces an urgent need to reimagine itself and work on achieving new opportunities for growth. The need…
Popular Salesforce Videos
Simplify Salesforce Development using CLI and VSCode Tasks
The Salesforce CLI is a powerful command-line interface that simplifies development and builds automation when working with your Salesforce org. Typing commands can be monotonous…
Dynamic Action in Salesforce | Salesforce Tutorial
In this video, we are going to talk all about dynamic actions in Salesforce. 00:00 Introduction 00:57 Work with Dynamic Action 05:05 Dynamic Actions in…
Integrate Salesforce with External System using REST API
In this video, Path to Code explains the following topics: - What is API? - Introduction to REST API - Using cURL to consume Rest…