You need to sign in to do that
Don't have an account?
bluecap
Lightning Component - Embed Wave Dashboard
Is it possible to embed a Wave Dashboard in a custom Lightning Component? I know its possible through Lightning pages, but there are limitations there that have caused us to look into custom development. Such as tabs can only be added to Record and Home pages, but not an App (which is totally odd btw!). Ideally we would like to have a single page where users choose which dashboard they would like to view and do this by choosing the dashboard from a picklist or clicking a tab or something similar. So the page would only show one dashboard at a time based on which one they've chosen.
<wave:waveDashboard developerName="your_dashboard_name" height="200" />
namespace:wave
type:waveDashboard
hope this helps.
You can Embed Wave Dashboard in Lightning Component like below.
Use directly in component also like
I hope this will help you.
Thank you
I have a similar problem and I am new to salesforce development. Dashboard is seen but not filtering down on Opportunity ID in Opportunity page (recordid) using the code below.
Could you please look into it ?
Component:
<aura:component implements="flexipage:availableForRecordHome,force:hasRecordId" access="global" >
<aura:handler name="init" value="{!this}" action="{!c.doInit}"/>
<div class="slds-grid slds-gutters">
<div>
<wave:waveDashboard recordId="{!v.recordId}" dashboardId="0FK1b000000025cGAA" height="800" />
</div>
</div>
</aura:component>
Controller:
({
doInit : function(component, event, helper) {
var recordId = component.get('v.recordId');
}
})