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
August 31, 2022

Hi @Rocko ,

Should I remove the Old Extension and add the modified Extension or Will it get over written on the present if I import the modified Extension without deleting the older one ?

The Point is, is there a chance for me not losing any configuration that is already made in the older Extensions, Configurations like DataBaseThing Connection Username and password..

Thanks,
Shashi.

Rocko
19-Tanzanite
August 31, 2022

It's difficult to tell without full insight, but I can tell that settings stored in Configuration tables will not be preserved. In this case you would have to export the table and reimport it after importing the thing/extension. For thing properties I *think* they are preserved. In your case, I would recommend to try it out with a sample extension, then you see what happens first-hand. This way you can decide what is the best option for you.