extends common/app-sidebar.pug
include common/app-head.pug
+head("Welcome to your Application")
// Replace with your content
.max-w-7xl.mx-auto.px-4.sm_px-6.md_px-8
h1.text-2xl.font-semibold.text-gray-900 Welcome to your Application!
div(id="embeddingContainer").max-w-7xl.mx-auto.px-4.sm_px-6.md_px-8
include common/app-footer.pug
var containerDiv = document.getElementById("embeddingContainer");
fetch('https://<your-server-url>/get-embed-url').then(response => {
footerPaddingEnabled: true,
sheetId: <Sheed ID>, // use this option to specify initial sheet id to load for the embedded dashboard
sheetTabsDisabled: false, // use this option to enable or disable sheet tab controls
undoRedoDisabled: false, // use this option to disable undo and redo buttons
resetDisabled: false // use this option to disable reset button
defaultEmbeddingVisualType: "TABLE" // this option only applies to QuickSight console embedding and is not used for dashboard embedding
// Creates the actual embed in "embeddingContainer",
// using the dashboard URL fetched.
session = QuickSightEmbedding.embedSession(options);