6.3.1 Embedding Superset Dashboard in Angular (Superset Embedding Config is Video 6.2)

Поділитися
Вставка
  • Опубліковано 4 гру 2024

КОМЕНТАРІ • 32

  • @lord9562
    @lord9562 Місяць тому +1

    May I suggest that you slow down a bit for those who are not as proficient as you are (you may have more practice and experience).
    Otherwise, one gets the idea the focus is more on completing the video in a fixed time, rather than effectively transfer knowledge. Main focus should be to transfer knowledge, even if it takes more than one video (or a longer video) to do it.
    Great work, which reduces many hours of trial and error for others.

    • @ShantanuKhond
      @ShantanuKhond  Місяць тому

      To be honest i do not write script and am just recording whatever i could. If you consider same for slowing down, someone might say same thing that i am just stretching video to get more watch hour.
      Anyways i am still learning and trying to show whatever i am doing that i struggled if someone who is really trying and doing some handson should definitely understand what i am doing. My main goal is to help everyone.
      Thank you for your suggestion will definitely try to implement it.

  • @pompibasumatari3108
    @pompibasumatari3108 6 місяців тому +1

    which version of superset are you using . And have you used the same dashboard_id you took from embed dashboard section.

    • @ShantanuKhond
      @ShantanuKhond  6 місяців тому

      I guess this is old v2 but same i tried on version 4.0.1 yes i used same id that i copied from embed popup when i added to the cors list.

  • @tingurun25
    @tingurun25 5 місяців тому +1

    You are the best!

  • @NatwarSharma-q1x
    @NatwarSharma-q1x 22 дні тому +1

    hi sahntanu I successfully called the login API, but when calling /guest_token/, it is returning the error about the missing CSRF token s there something I am missing regarding CSRF token handling in my Angular application? can you guide me ..

    • @ShantanuKhond
      @ShantanuKhond  22 дні тому

      I simply didabled it using flag as i could not find any proper documentation.

    • @NatwarSharma-q1x
      @NatwarSharma-q1x 21 день тому +1

      @@ShantanuKhond thank you but i facing one more problem The 500 INTERNAL SERVER ERROR for the /api/v1/me/roles/ endpoint, along with the error "Something went wrong with embedded authentication", suggests that there are issues with how Superset is handling the embedded authentication

    • @ShantanuKhond
      @ShantanuKhond  21 день тому +1

      Ok lets try couples of things
      1. lets use postman to call api one by one
      2. When you call the api just have a look at backend of superset you might find a reason for 500. If not you can send me email over contact@shantanukhond.me

    • @NatwarSharma-q1x
      @NatwarSharma-q1x 20 днів тому

      @@ShantanuKhond I wanted to reach out regarding some technical questions I have related to Superset integration. I’ve sent the details to your email and would greatly appreciate it if you could review and provide your insights at your earliest convenience I was able to successfully embed and render the Superset dashboard certain charts within the dashboard are not displaying as expected. Instead of the full visualization, I encounter the message: "Unexpected error

  • @KunalKumar-t4w
    @KunalKumar-t4w 4 місяці тому +1

    When trying to implement this in my local React project on localhost, I am able to log in, but getting a 'bad request' error when requesting a guest token. Can you suggest any ideas on how to resolve this?

    • @ShantanuKhond
      @ShantanuKhond  4 місяці тому

      I guess one more reason for it can be the json. That json we pass should contain all fields even rls as well even if you don't need it.

  • @sandy-kp5zc
    @sandy-kp5zc 14 днів тому

    I want to show my superset main menu page instead of embedded dashboards. Is this possible by passing guest_token & csrf_token & redirecting to main page ?

    • @ShantanuKhond
      @ShantanuKhond  14 днів тому

      Haven't tried but i guess you will have to pass other details. Mostly like sso tools.

  • @alameenn5452
    @alameenn5452 6 місяців тому +1

    Hi bro when are you going to release the react part

    • @ShantanuKhond
      @ShantanuKhond  6 місяців тому +1

      Most probably this weekend.

    • @ShantanuKhond
      @ShantanuKhond  6 місяців тому +1

      I updated github for react code you can check now. Will record video tomorrow.

    • @alameenn5452
      @alameenn5452 6 місяців тому

      @@ShantanuKhond ok thank you bro

  • @sailibakalkar1536
    @sailibakalkar1536 4 місяці тому +1

    Hey could you fix the css issue?

    • @ShantanuKhond
      @ShantanuKhond  4 місяці тому

      Yes,
      Using this code
      const = dashboardElement.querySelector('');
      if () {
      .style.width = '100%'; // Set the width as needed
      .style.height = '1000px'; // Set the height as needed
      }

    • @sailibakalkar1536
      @sailibakalkar1536 4 місяці тому +1

      @@ShantanuKhond thankyou so much was struggling a lot with CSS

    • @detlefbohm9543
      @detlefbohm9543 4 місяці тому

      @@ShantanuKhondCan you please a hint, where to put that code !?

  • @librarys9439
    @librarys9439 2 місяці тому +1

    Please make tutorial export excel pivot table 😊

  • @rutvijdoshi9664
    @rutvijdoshi9664 5 місяців тому +1

    I tried, but it is showing me 403 when i tried to embed it in

    • @ShantanuKhond
      @ShantanuKhond  5 місяців тому

      That means there is some issue with permission. Please check if the user has permission to embed. There are two types of users in this case one should be admin with embed permission who will grant user permission to embed using rls. And second user is actual user who has rls permission granted by admin.

    • @rutvijdoshi9664
      @rutvijdoshi9664 5 місяців тому +1

      @@ShantanuKhond ok will try

  • @SushilDeshmukh-v6n
    @SushilDeshmukh-v6n 4 місяці тому

    can we download superset charts in angular

    • @ShantanuKhond
      @ShantanuKhond  4 місяці тому

      For embedding yes you can but not individual chart. You can explore ngx echarts.

  • @akashsingh247
    @akashsingh247 4 місяці тому +1

    getting 422 while hitting guest token end point

    • @ShantanuKhond
      @ShantanuKhond  4 місяці тому

      Please check the payload if there is any syntax error. This error is most probably due to that.