Skip to main content
pshashipreetham
18-Opal
18-Opal
August 9, 2021
Solved

Extension importing issue

  • August 9, 2021
  • 2 replies
  • 2076 views

I was trying to Import a extension ConnectionServicesExtension-2.2.4 as per the instructions given in the following link:  https://developer.thingworx.com/en/resources/guides/azure-connector-guide/import-extensions

Then I get the following error:

[context: Extension Exception][message: Error parsing C:\ThingworxStorage\extensions\temp\ConnectionServicesExtension-2.2.4_8fa5c171-09fa-4acc-9cea-dbcdf80a2ecf\ConnectionServicesExtension-2.2.4\Entities\Things\ProtocolAdapterLeaderElectionTimer.xml: (20, 32): cvc-complex-type.3.2.2: Attribute 'inheritedValueStream' is not allowed to appear in element 'Thing'.]

 

The Thingworx version is 8.4.5

 

So what will be solutions to avoid this.
@paic @slangley @c_lowy 


Thanks !!
Shashi

Best answer by pshashipreetham

Hi there,

The Only solution for this is to update to the latest version, I was using the 8.5 version and upgraded to the 9.2 it is working fine !!

Thanks,

Shashi

2 replies

22-Sapphire I
August 9, 2021

Looks like maybe what can or can not be in an extension and in the definition has changed between the time this extension was created and the TWX version you are importing to.

If the entity definition is in XML you could perhaps just remove the 'inheritedValueStream' element and then assign a value stream after import.

Sorry I haven't worked with this extension before, nor am I familiar with the error, just interpreting what I am reading.

pshashipreetham
18-Opal
18-Opal
August 9, 2021

Hi @PaiChung ,

Thanks for the quick response, after removing it, I keep on getting lot of more and more similar type of errors and removed them from the files, finally I stuck at 

[context: Extension Exception][message: ExtensionPackage Cannot Contain System Objects or Editable System Objects]

Anything can be done about this ?

22-Sapphire I
August 9, 2021

Seems to imply that somehow in the package there are entities that are considered system objects?

Maybe some ThingShape/Template or DataShape?

pshashipreetham
18-Opal
pshashipreetham18-OpalAuthorAnswer
18-Opal
August 13, 2021

Hi there,

The Only solution for this is to update to the latest version, I was using the 8.5 version and upgraded to the 9.2 it is working fine !!

Thanks,

Shashi