Forum Discussion

Scooby0344's avatar
Scooby0344
Data Storage
05-12-2022

Error rendering tablewidget using sisenseJs

I'm getting a console error when calling the sisenseJs dashboards API function "load".  The dashboard contains a table widget that seems to be causing the issues.  The console error is "error refreshing widget: "Cohort Facility Details". (inner exception: TypeError: Cannot read properties of undefined (reading '$$loaded')) - TypeError: Cannot read properties of undefined (reading '$$loaded') "  

Cohort Facility Details is a table widget.

Does anyone have any ideas what could be going on?

5 Replies

Replies have been turned off for this discussion
  • KatieG's avatar
    KatieG
    Sisense Employee

    Hi Scooby0344, thanks for that screenshot, could you tell us:

    • Which version and platform of Sisense you are running? (Windows vs. Linux and the version - instructions here)
    • Which Sisensejs version (js/sisense.js or js/sisense.v1.js)

    Have you already tried switching which version of Sisense.js you are running? (ie. if using v1 try not v1 and vice versa)

    Based on the info above we can give further advice.

    Thanks,

    • Scooby0344's avatar
      Scooby0344
      Data Storage

      Hello KatieG.  Thanks for helping.  We're on Windows Pre 2021.  Version: 8.2.1.10097.

      currently using js/sisense.js.  I just tried to use v1 and now I'm getting a CORs error that I didn't get before.  I added "https://localhost:4200" to the ../settings/system API endpoint but I'm still getting this error.  Any Ideas?  

       

       

    • Scooby0344's avatar
      Scooby0344
      Data Storage

      Hello KatieG.  Thanks for helping.  We're on Windows Pre 2021.  Version: 8.2.1.10097.

      currently using js/sisense.js.  I just tried to use v1 and now I'm getting a CORs error that I didn't get before.  I added "https://localhost:4200" to the ../settings/system API endpoint but I'm still getting this error.  Any Ideas?  

       

       

      • KatieG's avatar
        KatieG
        Sisense Employee

        Hi Scooby0344, thanks for supplying the version of Sisense you are running on.

        Please switch back to sisense.js from sisense.v1.js.
        Does the page you are testing have an iframe by chance? If so, there is an issue with iframes and sisense.v1.js running on the same page on your current version of Sisense.

        Going back to your vanishing table widget issue - I wasn't able to replicate the issue you are seeing so far with similar code while running Sisense on Windows 8.2.1.10097 - I've attached the source code in case that is helpful.

        Please check to see if there is a script underlying the table widget and consider commenting it out and see if the issue persists. If the widget type happens to be a Table with Aggregation, consider updating the plugin to the latest version. If none of those suggestions work, I suggest you submit a ticket so the Sisense Support team can assist in troubleshooting.

        Hope that helps,