Get all properties of an entity in the tree

Hello!

Can you please tell me how to get and display all properties of an entity in the tree, as in the VIEW creation form in Cuba Studio? If the field is referenced, then it also becomes expandable.
c8105de0d8a0cf62479f384d0092ef73678eb40c

Thanks for the answer,
Egor

Hi @egor.serckov

Could you please describe more precisely what are you want to do? Unfortunately it’s not clear now.

Regards,
Nadezhda.

Hello!

I have an entity that contains attributes that refer to other entities with other attributes.

For example: there is a “Task1” entity that contains the “example” attributes and a “task 2” reference attribute that refers to the “Task2” entity. “Task2” contains “name” attributes and a “task3” reference attribute that refers to the “Task3” entity. “Task3” contains one “boof” attribute.

It is necessary for me to deduce all attributes in the form of a tree on the screen. For example, how it is implemented in the filter:
screen

Thanks for the answer,
Egor

Hi!

Perhaps you could use the Tree component for your purposes.
Here is the link to the documentation page with information about the component.

Regards,
Nadezhda.

Hello @egor.serckov

you probably looking for the possibility to query the class for its attributes.

Please take a look on the Metadata. This should give you the requested information.

Take care
Stefan