cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Widget error on Runtime

SOLVED
Highlighted
Gravel

Custom Widget error on Runtime

Hi, the custom widget given in the tutorial is not working after I imported it. It has errors during the runtime. "ERROR - TW.Runtime.Workspace.Mashups.getWidget exception loading widget { name: Error, message: simplewidgetdoesn't exist }" 

I have search the community about this problem and it says to clear cache or change browser. Done all of that but still having this error. Shouldn't it work if I just build the files from https://developer.thingworx.com/en/resources/guides/create-mashup-widget-extension/completed-example... and import them? 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Custom Widget error on Runtime

Hi, I realise there was an error because I imported another widget previously and that was the widget that cause the issue. So incase anyone had spend a few hours trying to understand why their widget did not work it could be that the previous widget then imported might cause some error. After removing it, my custom widget works as per normal! Thank you! 

View solution in original post

3 REPLIES 3
Highlighted

Re: Custom Widget error on Runtime

Hi,

 

I tried to import that custom widget, but there is no metadata.xml in the extension and it cannot be imported.

Can you check please if you have a metadata.xml file in your archive? You imported it without any error?

 

Thanks,

Raluca Edu 

Highlighted

Re: Custom Widget error on Runtime

Hi, I realise there was an error because I imported another widget previously and that was the widget that cause the issue. So incase anyone had spend a few hours trying to understand why their widget did not work it could be that the previous widget then imported might cause some error. After removing it, my custom widget works as per normal! Thank you! 

View solution in original post

Highlighted

Re: Custom Widget error on Runtime

What version of ThingWorx are you using?

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum!