Open the menu

    Uninstall Script

    This script will be executed when the component is uninstalled. This file is an XML formatted file that must follow the lumis-component-uninstall.xsd schema, whose link is present in API and XSD. In addition to this script, the portal may perform additional steps, such as:

    • Unregistering services
    • Unregistering themes
    • Unregistering business contexts
    • Unregistering observers
    • Removing files
    • Removing structure

    These additional steps are automatically handled by the portal and therefore do not need to be explicitly described in the script. It is important to note, however, that these steps will be taken for the resources belonging to the component in question. Even if the component does not have this script, the additional steps will be executed by the portal.

    The types of steps available for the uninstall script

    The uninstall script provides the following types of steps:

    • Run SQL command: Executes an SQL command in the database.
    • Run a Java class: Executes a Java class on the server.
    • Display a message: Displays an informational message.
    • Clean up unreferenced global items: Removes global items (global styles of interface instances, CSS records, and file transformation parameters) that are unreferenced.
    • Cleanup of Document Types from the default Big Data repository.