Skip to main content
18-Opal
August 31, 2022
Solved

Edit mashups when Deployed through Extension

  • August 31, 2022
  • 1 reply
  • 2198 views

Hi,

There are projects that are deployed from one Environment to another Environment by Extension method.
1st Env ---> Entities are Exported by Extension type

2nd Env ---> Extension is imported in to the Env
Now these Entities can't be edited, is there any way we can edit the Entities, mainly Mashups... there are few bugs need to be fixed over here

is there any configuration that can be done to edit the entities that are imported by extension in this scenario ?

Thanks,
Shashi.

Best answer by Rocko

Also note p62 and p63 in this document about editability in extensions: https://www.ptc.com/support/-/media/FFF75A096E3245C8BA1E42E1C47C04CD.pdf?sc_lang=en

1 reply

Rocko
19-Tanzanite
August 31, 2022

Not sure this is a good idea. It is a best practice to mark entities in extensions as non-editable, otherwise you will have problems upgrading that extension. This is documented here.

If you MUST, I guess you could extract the extension and update the XML so the entities become editable and that pack the files again before importing.

18-Opal
September 6, 2022

Hi @Rocko ,

This idea failed by creating more bugs, isn't there any other way, because all the customers I have been interacting having this issue.

Thanks,
Shashi.

Rocko
19-Tanzanite
September 7, 2022

The original request was to be able to edit entities that are imported by extension. This can be done by editing the XML which PTC does not recommend. If your extension contains mainly mashups, the question is why you export the project as extension at all and not just the entities?

Extensions are MEANT to be non-editable so they are updateable. You use them to extend the platform capabilities, i.e. by bringing in new widgets or java libraries. I would not use them to simply copy projects in a DevOps like scenario.

Also, if there are bugs to be fixed in the target system, they should be fixed in the source system,

 

Please also see related articles:

https://community.ptc.com/t5/ThingWorx-Developers/How-to-make-an-extension-editable-as-a-whole/td-p/732696

https://www.ptc.com/en/support/article/CS323766