So I’m working on trying to replace a run-time dashboard panel in engineering workbench with an assembly dashboard. While trying the trial and error stuff that I have to do to figure it out, an error shows up. Sure enough I can find the duplicated line, (I’m sure from me adding and removing sheets). The problem is, it’s in the read only section of the code. It won’t let me edit it. Is there any way to fix this, or force E-10 to fix it? There is nothing in the sheet editor to delete anymore. Worst case I re-import the customization from production (thank God I’m in test), but I was hoping that there was a better solution.
Error: CS0102 - line 216 (216) - The type 'Script' already contains a definition for 'PrintAppControlPanel'
At your own risk - you might be able to export the customization and modify the code in XML, then reimport. Unsure if that would work or if one should ever even ponder the thought.
You can delete controls from the customization via Customization Maintenance. From System Management -> Upgrade/Mass Regeneration -> Customization Maintenance. Open the offending customization, then from the actions menu select show custom data. Note: you must be in the same company that the customization is from else the delete will not work.
Sorry, another person showing up late for the party. But I just figured this out myself and thought I should share.
When in Customization, open up the Custom XML Editor…
Go into the Custom Controls tab and find the offending Control Name and delete the row. Do the same under the Custom Properties tab (there will be multiple lines here).
Make sure to MANUALLY save before getting out, you do not get a prompt to save.