Last active
July 9, 2017 18:58
-
-
Save escgeek/f3acce6d7a5f6ad1865c6bdb215a2438 to your computer and use it in GitHub Desktop.
Account Page Example with Embedded Wave Dashboard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page showHeader="true" standardController="Account" sidebar="true"> | |
<p> | |
<b><a href="/{!Account.Id}">{!Account.Name}</a></b> | |
</p> | |
<wave:dashboard dashboardId="0FKn00000004E86GSA" <!-- Fake ID - Use your assetId from Share URL --> | |
showTitle="false" | |
showSharing="false" | |
height="1800px" | |
openLinksInNewWindow="false" | |
filter="{'datasets':{ | |
'Sales_YOY':[{'fields':['Account__c.Id'], 'filter':{'operator': 'matches', 'values':['{!Account.Id}']}}], | |
'Sales_Daily':[{'fields':['Account__c.Id'], 'filter':{'operator': 'matches', 'values':['{!Account.Id}']}}], | |
'Open_Orders':[{'fields':['Account__c.Id'], 'filter':{'operator': 'matches', 'values':['{!Account.Id}']}}] | |
}}" | |
/> | |
</apex:page> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment