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

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

Importing a Package/Extension With Transformed Properties

Ascherer17
15-Moonstone

Importing a Package/Extension With Transformed Properties

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?

4 REPLIES 4

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

slangley
23-Emerald III
(To:Ascherer17)

Hi @Ascherer17 

 

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

 

Regards.

 

--Sharon

Ascherer17
15-Moonstone
(To:slangley)

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

Announcements


Top Tags