Skip to content

This repository help you understand how to embed Whaly reports in a salesforce lightning component that can be exposed on any objects.

Notifications You must be signed in to change notification settings

whalyapp/salesforce-embed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

salesforce-embed

This repository help you understand how to embed Whaly reports in a salesforce lightning component that can be exposed on any objects.

Step 1

Go to the developer console and create a new apex controller and name it WhalyEmbed. Copy and paste the code from ./src/whalyEmbed.apxc in it.

Step 2

Go to the developer console and create a new lightning component, name it WhalyEmbed Copy and paste the content of ./src/whalyEmbed.cmp in it. Create a new controller from your component and copy and paste the content from ./src/whalyEmbedController.js Create a new design file and copy and paste the code from ./src/whalyEmbed.design

Step 3

Change the key in whalyEmbed.apxc by your client secret. You can find your secret by following this guide.

Step 4

Go to your home page and customize it to include the newly created content. You can find your credentials following this guide.

About

This repository help you understand how to embed Whaly reports in a salesforce lightning component that can be exposed on any objects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published