HTML Architect: Create DB Entity in active folder

What version of Origam are you using: origam/architect:2026.4.alpha.4232.linux

I was trying to create a DB entity and I did that on the Entities element.

I was expecting that it will be created in my package.

Instead I’ve got my entity out of all packages, in the “root“ folder:

When creating an entity over Entities the new entity should be created in the active package.

P.S.: I created this as bug first but then moved it to ideas.

This is the same behaviour as in the desktop Architect. There are cases where you want to create a new element in a different place than the active package. The creation should respect the place you trigger the process from.

When I want to create an entity in a different package, I can do it, that is OK. But is there any case when I may need to create an entity out of all package folders? That is what I am addressing here…

You may want to create a general transformation similar to _copyAll or a general workflow used for closing modal dialogs that you want to access from all packages. Also when you trigger the action from a group one or more levels under your package folder it would have to be determined first if you are in the active package and then determine that you probably want to create the element on this level and not on the package level. I think the approach that the active (trigger) place is where you want the new element placed rather straightforward.