hierarchical static entities

Hi there, 

Could you please clarify me, is it possible create & use @hierarchical static entities?

For example

1. Class A

1.1. Item AA

1.2. Item AB

2. Class B

2.1. Item BD

2.2. Item BE


Regards,

Mirzarashid Abbasov


Hello,

Yes it is. Possible solution is to create two static entities.

For an example you can have a look at the MenuItem and MenuSubItem static entities created by Outsystems.

Regards,

Thomas Druif

Thomas Druif wrote:

Hello,

Yes it is. Possible solution is to create two static entities.

For an example you can have a look at the MenuItem and MenuSubItem static entities created by Outsystems.

Regards,

Thomas Druif

Thomas, thanks. It's clear.


Hello Mirzarashid,

If your hierarchy is not limited to 2 or 3 levels, and not all branches are equally deep, you could also consider making just one static entity referencing itself.  This also plays nice with zTree Forge component.


PS, hi there Thomas !  :-)


Solution

Dorine Boudry wrote:

Hello Mirzarashid,

If your hierarchy is not limited to 2 or 3 levels, and not all branches are equally deep, you could also consider making just one static entity referencing itself.  This also plays nice with zTree Forge component.


PS, hi there Thomas !  :-)


Hi Dorine!

Wow, it's amazing! Thanks

Solution