Skip to main content

lakeview_embedded

Creates, updates, deletes, gets or lists a lakeview_embedded resource.

Overview

Namelakeview_embedded
TypeResource
Iddatabricks_workspace.dashboards.lakeview_embedded

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
authorization_detailsarray
custom_claimstringCustom claim generated from external_value and external_viewer_id. Format: `urn:aibi:external_data:<external_value>:<external_viewer_id>:<dashboard_id>`
scopestringScope defining access permissions.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectdashboard_id, deployment_nameexternal_value, external_viewer_idGet a required authorization details and scopes of a published dashboard to mint an OAuth token.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
dashboard_idstringUUID identifying the published dashboard.
deployment_namestringThe Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc)
external_valuestringProvided external value to be included in the custom claim.
external_viewer_idstringProvided external viewer id to be included in the custom claim.

SELECT examples

Get a required authorization details and scopes of a published dashboard to mint an OAuth token.

SELECT
authorization_details,
custom_claim,
scope
FROM databricks_workspace.dashboards.lakeview_embedded
WHERE dashboard_id = '{{ dashboard_id }}' -- required
AND deployment_name = '{{ deployment_name }}' -- required
AND external_value = '{{ external_value }}'
AND external_viewer_id = '{{ external_viewer_id }}'
;