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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Extension import error

KN_9954684
14-Alexandrite

Extension import error

ERROR [widget] "CustomCSS" widget type is missing required member widgetProperties()

 

ERROR [widget] An error occurred while loading widget "kohlerqrscan" [{}]

 

ERROR [widget] "kohlerplotlychartingkit" widget type is missing required member renderHtml()

 

Please find the attached extension and help me figure out the above errors.

ACCEPTED SOLUTION

Accepted Solutions
Velkumar
19-Tanzanite
(To:KN_9954684)

@KN_9954684  I'm able to import your extension in Thingworx 9.2.0 

 

Velkumar_0-1695895692166.png

Try to import your extension into a different environment and check 

 

/VR

View solution in original post

6 REPLIES 6
Velkumar
19-Tanzanite
(To:KN_9954684)

Hi @KN_9954684 

 

Based on your error message, some required methods are missing in your runtime.js

 

Velkumar_1-1695875696509.png

 

Please refer to this link for the complete extension development guide - Create A Mashup Widget Extension Part 1 - PTC Community

 

/VR

 

 

 

 

KN_9954684
14-Alexandrite
(To:Velkumar)

Thanks for the reply.

 

As I see,In the link you mentioned it describes older way of developing widget extenisons.After importing it, we cannot see style themes and style props as per Thingworx latest versions.

 

I am following below link to develop widgets currently.Can you help me with latest widget example by inhereting web components.

 

https://support.ptc.com/help/thingworx_hc/visual_sdk/

 

Regards,

krishnakomal

Velkumar
19-Tanzanite
(To:KN_9954684)

Hi @KN_9954684  

 

Thanks for letting me know.

 

May I know your Thingworx Version.

 

I tried importing your extension into Thingworx 9.3.7 and it got imported without any error

Velkumar_0-1695879142536.png

 

/VR

 

 

KN_9954684
14-Alexandrite
(To:Velkumar)

Thingworx 9.2.1

Velkumar
19-Tanzanite
(To:KN_9954684)

@KN_9954684  I'm able to import your extension in Thingworx 9.2.0 

 

Velkumar_0-1695895692166.png

Try to import your extension into a different environment and check 

 

/VR

KN_9954684
14-Alexandrite
(To:Velkumar)

Sure, Thanks

Announcements


Top Tags