Skip to main content
OutSystems

How to find all cross-module usages of an entity action or attribute

Question

How to quickly find which eSpaces are using a built-in action of a specific entity? For example, the action CreateOrUpdate of my entity?

Answer

It's really easy to find all eSpaces using an attribute, though not straightforward, so by following these steps you should be able to do it.

  1. Find all usages in all eSpaces of your entity. This will download all consumers.
  2. Remove the attribute in question from the producer.
  3. If the producer itself was using the attribute, you will have true change errors in it. Before you proceed, you will have to fix all errors. Hopefully this will be as simple as deleting a few elements.
  4. On the eSpace menu, select to refresh all open consumers.
  5. Check all the consumers that are open. Those that have a true change error were using the attribute.

For the entity actions, expose the entity as read-only. When the entity is exposed as read only, the entity actions are not consumed. So, any consumer that was using an entity action will have a change error.

  • Was this article helpful?