Wave SDK
wave:sdk
Use this component to add access to the Tableau CRM SDK in a Lightning Experience page.
For Use In
Lightning Experience, Experience Builder Sites, Salesforce Mobile App, Lightning Out (Beta), Standalone Lightning App
The wave:sdk component allows you to invoke a set of Analytics REST API calls as SDK methods inside Lightning components and Visualforce pages. Discover Analytics assets and their details and create, update, and delete Analytics apps from templates.
Reference the wave:sdk component in your code:
To call the SDK, use sdk.invokeMethod(context, methodName, methodParameters, callback) and specify your parameters.
This example uses the wave:sdk component to get a list of dashboards. Your org must have CRM Analytics enabled and at least
one dashboard created for this example to work live. Click the "List Dashboards" button to trigger the SDK call. The component code can be copied and modified to work in any DE org.
The client-side controller calls the helper function to list the dashboards.
The helper function calls invokeMethod() with the method parameters.
For more information, see the Analytics Template SDK.