268
Views
7
Comments
How to know the number of public elements per module?

Hi all,

I am using the Architecture Dashboard and I have some monolithic modules. I want to reduce the size of these modules by removing mostly public elements.

Is there any way to know the number of public elements per module? On service center or something?

Thank you


2024-08-27 11-35-25
Ajay Anthony

Hi Marques,

Answer is No, but you can use OutDoc forge component to get a list view of both public & non-public elements

  1. This component will list all the actions/entities..etc used in your module, here you easily find the public element's. https://www.outsystems.com/forge/component-overview/159/outdoc
  2. Or you can take dependency of the module which you wish to get count for public elements, the actions/tables/screen which are visible for you is the list of public elements

Regards

Ajay A

2021-12-29 03-29-46
Ricardo Figueiredo

I think the point here is to know how much public elements we can have so that we don't have a monolithic error and not how many public elements we have in our module.

2025-04-17 05-42-16
Ajit Kurane

Hello Bruno,

In addition to previous posts,

Monolithic Service Module

Module providing services with too many public elements.

Impact
A monolithic module with too many public elements probably contains too many concepts inside. The module becomes very heavy and hard to maintain, and the lack of granularity causes unwanted impacts for consumers that only require a subset of services.
How to fix
Identify the granular concepts inside the monolithic module and design a conceptual relation among those concepts, making sure that you get a graph with no cycles. Then refactor your monolithic module to split it into the identified concepts, respecting their conceptual relation

Regards,

Ajit Kurane.

2021-12-29 03-29-46
Ricardo Figueiredo

That is the definition that appears on the dashboard… 

Does not clear the question, I believe that he wants to know how much public elements we can have without having monolithic warning. 

Not sure.

Best regards

2025-04-17 05-42-16
Ajit Kurane

ohh!! okay. Got it now. Thanks for the information 🙂  

2021-08-12 11-00-27
Nordin Ahdi
 
MVP

Hi everyone,

I just want to share this post from André Vieira (Product Manager @ OutSystems) where he explains that the Code Patterns "Monolithic Service Module" or "Monolithic web UI module" do not count how many public elements a module contains. So there is no threshold set for that. 

Read the post to understand better how these patterns work.

Regards,

Nordin

2018-12-10 12-16-21
Goncalo Duarte Almeida

Hello Bruno.

I faced the same problem and there is no good solution for what you want.

The way that I used to know the public elements from a module was open a consumer of that module, open "Manage Dependencies", on the left side select the producer and on the right side you will see all public elements of that module.

For example... according the image you can see all public elements from the ToDo_Core.

As I said... it's not the best but it's something.

Hope it helps

Regards

Gonçalo Almeida

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.