Remove an extension to an entity type

About this task

It is possible to remove an extension to a data model entity type. From the base configuration, you can only remove an entity extension that is defined in the configuration > config > Extensions > Entity folder as an .etx file.

You handle the removal of entity extensions in the following ways:

  • If you want to remove some of the columns, you edit the extension file. Remove any unwanted columns from the .etx file.
  • If you want to remove the whole extension, you delete the .etx file.
Warning: You cannot delete an entity extension that is marked as internal. Any attempt to do so can invalidate your Guidewire installation, causing the application server to refuse to start.

Procedure

  1. Navigate to the Extensions > Entity folder and locate the .etx file for the entity extension that you want to remove.
    • If you want to remove the whole extension, delete the file. Omit the next step and continue to step 3.
    • If you want to remove some extension columns from that extension, open the .etx file and continue to the next step.
  2. Delete any unwanted columns from the .etx file.
    A partial deletion retains the column definitions that you have left in place.
  3. Stop and restart the application server.
    At start up, the application server recognizes a data model change and upgrades the database to remove the database columns for the extension columns that you deleted.

What to do next

If you encounter error messages, or the application server refuses to start, examine your code and correct any problems before you attempt to continue.