We are already following the template/module copy approach. We prepare the required folder structure, pages, and microflows once, and then duplicate them whenever a new entity is created. This helps us maintain consistency and avoids dealing with empty or missing folders.
If you are looking for further automation, it might be possible to build a custom Studio Pro Extension to create the folders automatically when needed. However, this would require developing and maintaining a plugin, so it may take some time and effort.
The best long-term solution would be to submit this as a feature request in the Mendix Ideas portal. The Mendix product team actively reviews Ideas there, and this kind of developer productivity improvement could be considered for future Studio Pro enhancements.
hi,
No Mendix does not provide a design-time event or hook that triggers when an entity is created in the Domain Model.
There is no built-in mechanism in Studio Pro to automatically create folders, pages, or microflows when a new entity is added.
Domain model changes happen at design time, and Mendix does not expose extension points or scripting hooks for Studio Pro to react to entity creation.
Event handlers (Before/After Create) only apply to runtime object creation, not when defining entities in the model.
If you want automation, the supported options are:
Objects/ UI/ Microflows/
There is currently no supported way in Mendix Studio Pro to auto-create directories on entity creation. This would require a Studio Pro extension feature, which does not exist today.