Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hi,
I'm deploying Thingworx entities as an git extension from Dev to test server, which makes entities non-editable.
i.e xml of entity will have new tag as <aspect.isExtension="true">.
As well as DELETE option is disabled.
I have already tried removing this tag and save xml and re-import but no luck.
How to revert or make that entity editable again?
Hello @TanmeyTWX ,
I believe your answer is:
This information from Article - CS323766 How to package editable entities preivously exported from ThingWorx into an extension?
Hope that helps
Peter
Hi PEHOWE,
I tried below steps but Entity is still non-editable and delete option is disabled.
1. Exported the ThingShape xml.
2. Added aspect.IsEditableExtensionObject="true"
3. Save it.
4. Import back this ThingShape to Composer.
I'm good if I get the DELETE option working even. I can delete it and create again.
Thingshape definition attached for reference.
I am not sure I understand your goal. If you want to make a "Thing Shape" editable after it has been imported as part of an extension you need to add ' aspect.isEditableExtensionObject="true" ' to the "<ThingShape ....>" tag.
Adding this tag will not allow the ThingShape to be deleted because it is part of the Extension. You will be able to edit the ThingShape. When you remove the extension the ThingShape will be removed.
If your goal is to be able to remove a ThingShape I believe it will be necessary to import the ThingShape without it being part of an extension.
Please let me know if you have additional questions.
Peter
Hi,
I tried adding ' aspect.isEditableExtensionObject="true" ' to the "<ThingShape ....>" tag. but didn't work.
I want to achieve either of the below.
1. Make entity Editable again.
2. Delete entity.
Any idea if I delete the Entity from postgres DB directly, will it impact my application?
Note: I want to do above activities on Dev server.
By adding the property ' aspect.isEditableExtensionObject="true" ' I am able to edit the ThingShape. Here is part of the XML
Please review my entry and compare to your attempt to add the editable option.
When you add this option you should get the option to edit a ThingShape.
If you are not having success please provide the ThingShape XML and I will take a look in my environment.
Also what version of ThingWorx are you using? This will allow me to check if there has been an issue reported for this problem.
Thanks
Peter
Hi PEHOWE,
I'm using Thingworx 8.5.4 as of now.
I have attached my xml file. You can use that and check if able to make it editable.
I have added ' aspect.isEditableExtensionObject="true" ' to the ThingShape you uploaded. I am able to add properties to the ThingShape.
I tested this in ThingWorx 8.4.9 and 8.5.3
Can you please try the updated version in your environment.
Thanks
Peter
Hi,
I tried the xml but its still non-editable.
I am not sure we are testing the same feature. The XML you provided has a ThingShape. I added the attribute ' aspect.isEditableExtensionObject="true" '. I created 2 extensions one with the attribute and one without. If I load the two examples, The extension with the attribute the ADD button is enabled.
I am also including the extension with just the one item. Let me know what feature to check.
Thanks
Peter