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?
Similar issue - "Extension Import Error for Distributed Subscription": https://community.ptc.com/t5/ThingWorx-Developers/Extension-Import-Error-for-Distributed-Subscription/td-p/905108
I'd recommend a ticket with PTC Support for this.
Thank you. I went ahead and submitted a case for this.