4 Replies Latest reply on Nov 15, 2017 11:13 AM by visla RSS
    wsuen Newbie

    Creating Simple Custom Widget

    Hola,

     

    I'm trying to create a simple sticky note widget. At runtime, I get the following error: 15:03:34 ERROR - TW.Runtime.Workspace.Mashups.getWidget exception loading widget { name: Error, message: Notedoesn't exist }. Not sure what is wrong. In my runtime.js I named it Note.

      • Re: Creating Simple Custom Widget
        polinao Ninja

        Are you using the ThingWorx eclipse plugin to create the widget? Does this happen only at runtime but you still see the widget in the composer?

        You may try opening your browser developer tools too to see if there are any relevant errors at runtime.

        • Re: Creating Simple Custom Widget
          visla Newbie

          Hello Wendy!

           

          Does this occur on all browsers? If the issue happens on some browsers only, you could also try to clear the local cache of the affected web browser and see if that fixes the issue.

           

          Do you have the Custom Chart Widgets Extension version 2.0.4 installed? If yes, could you please confirm if your Tomcat has the JAVA encoding configured to be UTF-8? That extension includes some special characters in "CombinedExtension.<timestamp>.js" that require that JAVA encoding to be enabled (additionally, it is a recommendation available in our ThingWorx Install Guide).

          Please have a look at the following article (please note that even if the article is focused on a "chart doesn't exist error", I have seen this root cause affecting other widgets, like for example Google Maps... therefore it might be worthy to confirm if it is affecting also your "Note" widget):

          Article Viewer | PTC

           

          I hope that helps!

          Vanessa