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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Import a custom widget error

fliu1
1-Newbie

Import a custom widget error

I imported a custom widget into thingworx,and it showed successful,but this widget is not in the mashup list ,and at the same time,the other widget i imported before are not in the list too.

what is the possible reason

9 REPLIES 9

Did you refreshed the browser windows?

yes,i did

ankigupta
5-Regular Member
(To:fliu1)

Hi Fen Liu​,

Check the application logs to see if the extension was imported successfully?

Also try importing an extension from ThingWorx marketplace to see if it works fine.

I would also suggest you to do a quick restart of ThingWorx if the issue persist.

Thanks,

Ankit Gupta

ttielebein
12-Amethyst
(To:fliu1)

Can you try clearing your browser cache or using a new browser and see if they are there? Usually they would just appear after a browser refresh. Were you trying to say with your one comment that some which you had previously imported which did appear there stopping appearing after you imported a new widget? So now there are multiple missing widgets, some of which used to appear before?

I believe , you are using IE11, I faced the similar issue where the custom widgets were not visible on mashup in IE11 whereas it was visible on Chrome and other browsers.

Please let me know if you are facing the similar issue on other browsers as well.

no,I am using Chrome

The fact that your other widgets have also vanished indicates a failure of the extension load. Failures to load extensions are not always reported in a clear way.(The fact that the extension loader reported success does not always mean the extension successfully loaded.)


First check your monitor logs to see if an error has been reported there.

If there are no errors indicated in the logs, use the browser debug tools to check for error messages during import. Some errors in the IDE JS  file will not be detected when the extension is built. Instead the load of CombinedExtensions*.js file will fail, with the only reporting of the error going to the browser console. If there are errors there then it will give you the line number in CombinedExtensions*.js, from which you should be abhle to indentify the offending line in your source.

Hello David, Thanks for your answer,i am using Chrome, and i did as you said to open the browser console ,and the error is "Invalid format: ThingWorx TXP files must be uploaded as multi-part files.",but i don't think this is the reason of my problem, because  i tried to import "AutoComplete" Widget from the Marketplace, the browser Consle gave the same error,and the "AutoComplete" Wideget imported successfull

sdejager
1-Newbie
(To:fliu1)

Have you checked that your custom widget does not share names with the one that is disappearing?
If there is a conflict between to widgets sometimes neither of them shows in the list anymore.

Top Tags