📣 We're Hiring!

Dissapearing layouts

Hello Guys!

I started to work with SuiteCrm. I have the latest release.

My problem is, that sometimes my edited layouts dissapearing.
For example if i create a new relationship in the module builder (i made a lot of custom modules), then i click on deploy, and voila, my saved layouts missing.
This happens after repair & rebuild too.

What am i doing wrong? How can i prevent data loosing? Its really hard reverting it from git every time when something gone wrong with the files.

Where should i copy the layout files from custom/modulebuilder/packages/<package_name>/modules/<module_name>/metadata to keep them safe?
How can i prevent deleting them automatically after rebuild/deploy?

Some screenshots.
https://imgur.com/a/t8znMMh

Welcome to the community!!!

After initial deployment, you need to do any other modification from Studio. If you click deploy again, it will overwrite anything else you do from studio.

Thanks for your fast answer.

So from the Studio not from the Module manager?
I make all the modifications from the Module manager. I select my package, then the module and finally making some new relations, fileds or layout changes then deploy.
Should i make these steps in the Studio instead of Module Manager and after deploy from the Module Manager?

After the initial deployment, any other change or modification needs to be done from Studio. That, if you want to maintain layout and field changes. Now, if you want to reset the module to it’s original state, then deploy is the option.