Skip to Content
Menu
This question has been flagged
2 Replies
3971 Views

Hello community. I created a model in studio (Quality Module) and then I understand that I dont need it. How can I delete it?

Avatar
Discard
Best Answer

You'll have to manually delete the views for the new model (and maybe other things) and then you should be able to delete the Model.

  1. Enable Developer mode
  2. Delete any related fields if you have linked this Model to another Model
  3. Delete the views in Settings / Technical / User Interface / Views
  4. Delete the menu items in Settings / Technical / User Interface / Menu Items
  5. Delete the Model in Settings / Technical / Database structure / Models

If you created tags for the Model you will need to follow similar steps to delete them.

If you used other features such as Contact Details on your new model it seems to get complicated, so it might be simpler just to remove the menu items associated with the new Model.

Avatar
Discard

Hi Chris,

Trying to delete a model with no models linked to it, no views, and no menu items, but getting this message when deleting the model from the Database structure menu:

Invalid Operation
This column contains module data and cannot be removed!

I realized that the model, created with studio, also had Groups, but I still can't delete it. Any other place to check that you can think of?

Thanks!

Hi Emilio - have you checked whether there is any data in your model that is related to other models? For example, a customer or a product. The error might be related to that, but it's difficult to know without seeing the full picture!

Best Answer

Hi, 
Firstly, remove any actions and operations created in the custom module. Proceed to Settings/Technical/User Interface/Menu Items, locate and delete the menu item (icon). It's important to note that this action only removes the menu item; it doesn't delete the models, fields, views, etc., created within it. Following the deletion of menus, navigate to Settings/Technical/Views, search for the views, delete them. Subsequently, visit "Models" and proceed with the deletion of the models.

Hope it helps

Avatar
Discard

Hi Cybrosys. Just wondering why you are posting almost exactly the same answer I posted a few hours earlier.

Related Posts Replies Views Activity
1
May 25
393
2
Mar 25
929
0
Feb 25
667
0
Feb 25
734
0
Feb 25
775