How to get the name of an Entity and the name of the attributes of this entity

How to get the name of an Entity and the name of the attributes of this entity

  
Hi,

I would like to know if receiving an entity of any type I can discover the name of that entity and the name of the corresponding attributes.

What I would like to do is:
- create an action that receives a generic entity, which can be any entity of my eSpace
- and I want to create a string with the name of the entity followed by the name of the attributes of that entity.

tks.
Hi Gonçalo,

Check this post over here - http://www.outsystems.com/NetworkForums/viewtopic.aspx?TopicId=3050

It's not exactly what you're looking for, but you should be able to change it to suit your needs. It basically introspects any entity to find it's attributes. It also works for structures recursively.

You'll have to do some C# coding, but it's not that hard having an example to follow!

Hope that helps,
Best regards,
Gonçalo