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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Custom widget extension issue in thingworx composer

Rajkumar_20673
11-Garnet

Custom widget extension issue in thingworx composer

Built an Custom widget, based on the Polymer JavaScript  , when Extension ran through the Web Application, the chart looks like below Image: 
 

Rajkumar_20673_0-1655951004318.png

 

 
 
After importing the Custom-widget.zip file in to the Thingworx and when tried to show it on a Mashup, no chart appears 
 

Rajkumar_20673_1-1655951004318.png

 

 
 

And when viewed, following error is seen in the web console: 

 

Rajkumar_20673_2-1655951004318.png



Thanks
Rajkumar

 

4 REPLIES 4

Hi @Rajkumar_20673

 

You provided the image that you see from the "Web Application."  Are you referring to a view of the mashup or some other tool?  Even though you're not seeing it in the mashup builder, what do you see when you click "View Mashup?"  At what point does the error occur?  In the Mashup builder or when you're viewing the mashup?

 

Regards.

 

--Sharon

 

 

Hi @slangley 

Programming Language used
Polymer Js 

For charts used google web component charts 

Bar chart image was developed in web application, by using polymer and google web components charts. Bar chart image is output from the browser. 

 

Rajkumar_20673_0-1656650696094.png

 

 

 

Issue: 

After built, Mashup widget I.e (extension.zip) file. After importing file into mashup. It the showing none 

Rajkumar_20673_1-1656650696095.png

 

 

After saving the mashup and when we click on view mashup. 

Rajkumar_20673_2-1656650696095.png

 

 

Where we are seeing the mashup output in browser. It is showing blank. 
But in the console, we are getting as below the image displaying. 

 

Rajkumar_20673_3-1656650696095.png

 

 

And Error Content: 

Failed to load resource: the server responded with a status of 404()  /Thingworx/extensions/base.js:1 

Failed to load resource: the server responded with a status of 404()  /Thingworx/extensions/lit:1 

 

Hi @Rajkumar_20673.

 

In regard to the mashup, when you developed the extension, did you include a preview for your widget that would appear in the mashup builder?  In regard to the 404 error, have you checked for typos or missing extensions? 

 

Regards.

 

--Sharon

Announcements


Top Tags