Skip to main content
16-Pearl
July 18, 2025
Solved

Importing a Package/Extension With Transformed Properties

  • July 18, 2025
  • 3 replies
  • 583 views

I created a Thingworx app that includes a Thing Shape containing a Transformed property (Platform Analytics enabled) based on another property in the Thing Shape.  I used the "Package" feature in my app's Project to export it as an extension.

When I attempt to import the package as an extension into my QA server, it fails with this error: 

Error parsing /<PATH>/ThingworxStorage/extensions/temp/<PACKAGE>/Entities/ThingShapes/Entities.xml - make sure the file was not created with newer version of Thingworx: (370, 30): cvc-complex-type.3.2.2: Attribute 'aspect.dataCollectionMethod' is not allowed to appear in element 'PropertyDefinition'.

**PATH and PACKAGE are the path to ThingworxStorage and package name respectively.

 

Looking in the xml, the 'dataCollectionMethod' aspect it's referring to appears to be part of the Transformed property's definition.  I attempted to remove this aspect from the xml manually, zip up the files, and import as package again; I just get a similar error pointing to another aspect within the same Transformed property definition:

Extension Exception: Error parsing /<PATH>/ThingworxStorage/extensions/temp/<PACKAGE>/Entities/ThingShapes/Entities.xml - make sure the file was not created with newer version of Thingworx: (368, 30): cvc-complex-type.3.2.2: Attribute 'aspect.executionInterval' is not allowed to appear in element 'PropertyDefinition'.

 

I'm using Thingworx Foundation, Analytics Server, and Platform Analytics all on version 9.7.1.

Does Thingworx just not allow you to import Transformed property definitions or is there some other explanation?

Best answer by slangley

Hi @Ascherer17 

 

The following releases are now available, which should address this issue:

 

10.0.2

9.7.4

9.6.7

9.5.10
 

Please let us know if you will be upgrading soon and whether the issue is resolved for your use case.

 

Regards.

 

--Sharon

 

3 replies

24-Ruby III
July 20, 2025
Rocko
19-Tanzanite
July 21, 2025

I'd recommend a ticket with PTC Support for this.

Community Manager
July 22, 2025

Hi @Ascherer17 

 

With your approval, I'll be happy to open a case on your behalf.

 

Regards.

 

--Sharon

16-Pearl
July 22, 2025

Thank you.  I went ahead and submitted a case for this.

slangleyCommunity ManagerAnswer
Community Manager
January 20, 2026

Hi @Ascherer17 

 

The following releases are now available, which should address this issue:

 

10.0.2

9.7.4

9.6.7

9.5.10
 

Please let us know if you will be upgrading soon and whether the issue is resolved for your use case.

 

Regards.

 

--Sharon