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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Error while importing Gantt chart extension

FJ_10364026
2-Guest

Error while importing Gantt chart extension

Hi all, 

 

I'm getting this error when I am importing Gantt chart widget extension -

 

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

 

I'm attaching the widget zip file for reference. Any help would be much appreciated.

3 REPLIES 3

 Hi,

 

There was a similar error before - "Progress gauge import failed in TWX 9.1.0": https://community.ptc.com/t5/ThingWorx-Developers/Progress-gauge-import-failed-in-TWX-9-1-0/td-p/735220 

Hi @VladimirN ,

 

The extension already have a metadata.xml file. The file is automatically generated so I don't think that is the issue. 

 

Thanks for the help anyway.

TonyZhang
13-Aquamarine
(To:FJ_10364026)

Hi @FJ_10364026,

 

Even I can successfully import the extension you attached to ThingWorx, I cannot enter and edit the sample mashup somehow.

 

I found below extension GanttChart-min-1.0.2.zip (It seems not working with newer ThingWorx versions 9.1.x ~ 9.3.x)

https://github.com/ptc-iot-sharing/GanttChartWidgetWidgetTWX/releases/tag/1.0.2

I imported it to 8.5.x along with the sample entities from https://github.com/ptc-iot-sharing/GanttChartWidgetWidgetTWX/blob/frappe/docs/sample_entities.xml

 

Open the Test_GanttChartData mashup, click Yes to replace deprecated widgets, 

 

then View Mashup, I can see the Gantt Chart displays successfully.

 

Make sure below settings are all set to true in platform-settings.json before importing extensions.

  "ExtensionPackageImportPolicy": {
  "importEnabled": true,
  "allowJarResources": true,
  "allowJavascriptResources": true,
  "allowCSSResources": true,
  "allowJSONResources": true,
  "allowWebAppResources": true,
  "allowEntities": true,
  "allowExtensibleEntities": true
 }

Top Tags