Read Data from Report and display chart
If you are seeing this post directly just go through this article contains Apex class with details. Click Here Aura Component : <aura:component controller=”GetApexReadData” implements=”flexipage:availableForAllPageTypes” access=”global”> <aura:attribute name=”dashboardData” type=”List” /> <ltng:require scripts=”{!$Resource.ChartJSScript}” afterScriptsLoaded=”{!c.ScriptLoaded}”/> <aura:handler name=”init” value=”{!this}” action=”{!c.doInit}”/> <canvas aura:id=”chart” id=”chart” /> </aura:component> JS Controller : ({ doInit: function(component, event, helper) { helper.loadChartJS(component, helper); } }) […]
Read MoreRead Data from Reports in Salesforce – Report API
Report API is used to read the data from reports as part of customizing reports. Basically it is used when we want to perform some actions between two non related reports or want to display the reports on User Interface. There are so many scenarios but want to retrieve data from reports or get […]
Read More