You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/02/21 15:10:51 UTC
[GitHub] [superset] idears-org commented on issue #17187: [SIP-75] Proposal for Embeddable Dashboards
idears-org commented on issue #17187:
URL: https://github.com/apache/superset/issues/17187#issuecomment-1046977422
Hi @suddjian I'm trying to use the embedded SDK and integration the SDK into my project like this:
``` javascript
embedDashboard({
id: "3", // given by the Superset embedding UI
supersetDomain: "http://localhost:62421/superset",
mountPoint: document.getElementById("superset-container"), // any html element that can contain an iframe
fetchGuestToken: () => {setTimeout(() => "a token from swagger ui", 10) },
debug: true,
});
```
but the sdk inject an url http://localhost:62421/superset/dashboard/3/embedded in iframe which showing "page not found" am I doing wrong?
<img width="582" alt="image" src="https://user-images.githubusercontent.com/13452500/154981894-6b8f0dd4-fd39-47ed-9495-c00bf8a02b56.png">
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org