Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
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-create-mashup-widget-extension and import them?
Solved! Go to Solution.
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!
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
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!
What version of ThingWorx are you using?