Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
Hi,
When importing an extension a localization table was inadvertently imported as well. The issue is that this table has the attribute "aspect.isEditableSystemObject="True"" which means that it cannot be deleted from the Composer.
In a similar issue the solution was to export the localization table, set "isEditableSystemObject" to false and import it. However this does not work in this case as the importer ignores the new edited file with the message: "Editable Localization Table Already Exists, Ignoring Imported Object Except for Tokens LocalizationTable [xx] "
Is there any other way to delete this specific localization table?
Thanks in advance,
/M
Solved! Go to Solution.
Hi @CMabr.
After further investigation and testing, it was verified that there is no way to do this via the standard interfaces.
Regards.
--Sharon
Hi @CMabr.
Which version of ThingWorx are you running? Was the extension you were importing custom or one provided by PTC? If custom, please provide the extension so we can perform some testing.
Regards.
--Sharon
Thanks for the reply @slangley, I am using version 8.3.2-b535 of Thingworx. The extension is Advanced Grid 4.0.1, the "GridAdvancedExampleEntities.xml" file contains the following:
<LocalizationTables><LocalizationTable aspect.isCreatable="false" aspect.isEditableSystemObject="true" description="Advanced Grid example localization table" documentationContent="" homeMashup="" languageCommon="AdvancedGrid" languageNative="AdvancedGrid" lastModifiedDate="2018-05-15T15:28:27.913-04:00" name="ag" projectName="" tags="Applications:GridAdvanced"><Owner name="Administrator" type="User"/><avatar/><DesignTimePermissions><Create/><Read/><Update/><Delete/><Metadata/></DesignTimePermissions><RunTimePermissions/><VisibilityPermissions><Visibility/></VisibilityPermissions><ConfigurationTableDefinitions/><ConfigurationTables><ConfigurationTable description="Localization tokens and usage" isMultiRow="true" name="LocalizationTokens" ordinal="0"><DataShape><FieldDefinitions><FieldDefinition aspect.friendlyName="Translation context" baseType="STRING" description="Translation context" name="context" ordinal="3"/><FieldDefinition aspect.friendlyName="Token name" baseType="STRING" description="Token name" name="name" ordinal="0"/><FieldDefinition aspect.friendlyName="Token usage" baseType="STRING" description="Token usage" name="usage" ordinal="2"/><FieldDefinition aspect.friendlyName="Localized value" baseType="STRING" description="Localized value" name="value" ordinal="1"/></FieldDefinitions></DataShape><Rows><Row><context/><name><![CDATA[averageCost]]></name><usage/><value><![CDATA[AVERAGE COST:]]></value></Row><Row><context/><name><![CDATA[functionCalculations]]></name><usage/><value><![CDATA[(function calculations do not include rows that are not visible in grid, unless you perform your own server side calculations like in back-order column)]]></value></Row><Row><context/><name><![CDATA[onBackOrder]]></name><usage/><value><![CDATA[ ON BACK-ORDER!]]></value></Row><Row><context/><name><![CDATA[totalCost]]></name><usage/><value><![CDATA[TOTAL COST:]]></value></Row><Row><context/><name><![CDATA[totalUnits]]></name><usage/><value><![CDATA[TOTAL UNITS:]]></value></Row></Rows></ConfigurationTable></ConfigurationTables><ConfigurationChanges><ConfigurationChange changeAction="CREATE" changeReason="" timestamp="2018-04-24T10:56:47.065-04:00" user="Administrator"/><ConfigurationChange changeAction="MODIFY" changeReason="header : description : updated " timestamp="2018-04-24T10:58:52.115-04:00" user="Administrator"/><ConfigurationChange changeAction="CREATE" changeReason="" timestamp="2018-04-24T11:02:01.612-04:00" user="Administrator"/><ConfigurationChange changeAction="CREATE" changeReason="" timestamp="2018-04-24T19:44:12.572-04:00" user="Administrator"/><ConfigurationChange changeAction="CREATE" changeReason="" timestamp="2018-04-27T08:31:11.690-04:00" user="Administrator"/><ConfigurationChange changeAction="CREATE" changeReason="" timestamp="2018-05-14T12:07:05.637-04:00" user="Administrator"/><ConfigurationChange changeAction="CREATE" changeReason="" timestamp="2018-05-15T11:11:55.079-04:00" user="Administrator"/><ConfigurationChange changeAction="CREATE" changeReason="" timestamp="2018-05-15T15:28:27.913-04:00" user="Administrator"/></ConfigurationChanges></LocalizationTable></LocalizationTables>
which created the unwanted localization table that cannot be deleted.
Hi @CMabr.
I imported the sample file that comes with the 4.1.1 version of Grid Advanced but am not seeing a new localization table.
In ThingWorx Composer, please browse to Localization Tables and send a screenshot of the tables listed there. Also, please advise which one you're trying to delete.
Regards.
--Sharon
Here is a screenshot of the tables... The table "ag" is the one I wish to delete but am unable to.
The following message is displayed when trying to delete it:
Hi @CMabr.
Apparently the newer version of the examples no longer includes this localization table. Here's my screen after doing the import of the one that comes with the 4.1.1 extension:
Please send me the .xml you imported so I can try to come up with a way to delete it.
Regards.
--Sharon
I've attached the XML file that creates the localization table to this comment. Please let me know if there is any additional information you need from me.
Thanks.
Hi @CMabr.
After further investigation and testing, it was verified that there is no way to do this via the standard interfaces.
Regards.
--Sharon
Hi @CMabr.
If the previous response answered your question, please mark it as the Accepted Solution for the benefit of others with the same question.
Regards.
--Sharon