1. How to delete or a modify a custom module created via Module builder
Question
How to delete or modify a custom module created via Module builder
Answer
For module deletion
Our recommendation is to DISABLE the customModule instead of deleting it. In order to delete the module, you have to make sure all of the following has been done:
You have database backup (with ability to restore right away).
You have file backup (with ability to restore right away).
You have DISABLED (inactivated) all the reference fields for customModule. For example, if you have CustomModuleABC and then add a relationship field (1:M) to e.g Tickets, you would have a new field on Tickets "CustomModuleABC". You must disable this field before proceeding.
Delete all the workflows for customModule.
If any of the 3rd party extensions have been configured for the customModule, please delete the configuration for all the extensions (just for customModule).
To delete the module itself, you will need to execute a .php script on the server.
Download the script to your Vtiger folder.
Open script through the browser and specify the customModule: https://your-vtiger-url/index.php?delete_module.php?module=customModuleABC
As soon as the script is open, the module will be deleted.
Please note, due to the nature of this procedure, we do not provide free support in case something goes wrong (which it shouldn't), but then again, that's what the backups are for.
For Module Modification
Once the customModule is created, you will not be able to modify the following:
Module Name
Menu it goes under (it can be done, but requires adding entry to vtiger_app2tab table).
Meanwhile, you will be able to modify:
Module Label (e.g CustomModuleABC > Module ABC. This can be done using label editor).
Existing block/field labels (same as above).
Icon
Issue
How to delete or a modify a custom module created via Module builder
Created by
Salman (July 01, 2024)
Last updated