Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Einstein Analytics

You're reading from   Learning Einstein Analytics Unlock critical insights with Salesforce Einstein Analytics

Arrow left icon
Product type Paperback
Published in Jan 2018
Publisher Packt
ISBN-13 9781788475761
Length 242 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Santosh Tukaram Chitalkar Santosh Tukaram Chitalkar
Author Profile Icon Santosh Tukaram Chitalkar
Santosh Tukaram Chitalkar
Arrow right icon
View More author details
Toc

Embedding the dashboard in Visualforce Pages


We can embed the Analytics dashboard on a Visualforce page just like we embed it on the record detail page for Salesforce Classic. In order to embed the dashboard in a Visualforce page, we have to use the <wave:dashboard> component. The user can configure the dashboard using attributes of the component, such as dashboardId, filter, showTitle, and so on. Before starting to embed the dashboard to a Visualforce page, we need to get the dashboard ID. To get the dashboard ID, perform the following steps:

  1. Switch to Analytics mode again.
  2. Navigate to Analytics Studio | DASHBOARDS and open the dashboard which you want to embed. We are going to use Emedded Opportunities. 
  3. Check the URL shown in the following screenshot:
  1. Copy the dashboard ID that starts with 0F.

Now that we have the dashboard ID that we want to embed, let's create a new Visualforce page for it. To embed a dashboard in Visualforce Pages, perform the following steps:

  1. Exit from Analytics and...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at AU $24.99/month. Cancel anytime