Deleting a Module

The following steps will help you delete a Module and Module dataset so that you can reuse the Module name and load data using same Value chain again.

  1. Expand Bookstore's Ant targets. Double-click clean to clean the module.

    Repeat the same for Bookstore_dataset Module dataset.
    images/download/attachments/144836795/ant_tile_clean-version-1-modificationdate-1655932681000-api-v2.png

    The Console tab should open at the bottom, and you should see a BUILD SUCCESSFUL message once it completes in both cases:
    images/download/attachments/144836795/build_successful-version-1-modificationdate-1655932699000-api-v2.png

  2. From command prompt, use sqlplus to connect to database and run execute dtb.delete_data(); This PL/SQL procedure will delete all data loaded using "load-data" ant target.
    images/download/attachments/144836795/delete_data_proc-version-1-modificationdate-1655932723000-api-v2.png

  3. Backup any code files from workspace if you want have written any code (Usually module sub-directory under SDK install directory). From studio, select both the Module and Module dataset and right-click to choose Delete.
    images/download/attachments/144836795/delete_module-version-1-modificationdate-1655932739000-api-v2.png

  4. When prompted to confirm, choose "Delete project contents on disk" to delete the Module files from the workspace.
    images/download/attachments/144836795/delete_module_confirm-version-1-modificationdate-1655932756000-api-v2.png