Home > Forum > User Voice > Add an option to disable or selectively include company entities during application package generation

Add an option to disable or selectively include company entities during application package generation
3

Please add a configurable option to disable the export of company entities during application package generation, as well as the ability to selectively choose which company entities should be included in the export.
Currently, when moving the application between environments, the system exports and overwrites all company entities by default, which then requires manual restoration or cleanup.
Providing an option to exclude company entities entirely, or to select only specific ones for export, would greatly streamline environment migrations and reduce unnecessary corrective work.

MVP
In reply to: Maksymilian Stachowiak

Hi Leszek,
There is a checkbox during import if companies should be overridden.
Not sure if it's there for companies which don't exist on target environment, but for companies existing you have an option to no override companies.

Hi Maks,

this is only related to the security. Business entities are always exported and imported on the target system. Since this is mostly an issue for partners and not for end customers, it seems to be unlikely that something will change here.
That's also one of the reason, why I created an application for importing an application, to track unintended changes:

https://daniels-notes.de/posts/2024/importing-applications-using-an-application#general-explanation


Btw. I thought that I posted a similar user voice, but I can't find it.

Would be great, if this could be added.

Best regards,
Daniel

MVP
In reply to: Leszek Roszkowski (Daleto)

Maksymilian, Daniel

Thanks a lot for your answers..

Indeed, when the “do not overwrite existing entities” option is enabled, the system import typically behaves as follows:

- Existing entities are not modified or replaced.
- Missing or new entities are still added, because the option only prevents overwriting — it doesn’t block the creation of new items.

Best regards,
Leszek

I have one additional hint/comment.

The overwrite security settings doesn't prevent that the business entity will be renamed. This will typically happen for the first business entity, because it has the same GUID on every environment.

If I see in the import report, that a business entity was overwritten, I always open the history from the context menu of the business entity and search for the Companies table.

At least, if we haven't deployed the "import application".

Best regards,
Daniel