To avoid code replication, I am trying to use the Month static entity, which is available in the OutSystemsUI module.
But unfortunately, i am not able to use it, because of the following error message or because of the outsystems principles.
https://success.outsystems.com/documentation/11/building_apps/reusing_and_refactoring/libraries/
Is there any alternative way? so that i can use this entity as it is with the other consumers, instead of creating the same new entity.
Hi @Pradip Chavhan,
You can't use the Outsystems static tables in other modules to get the records. For workaround you can create a Local Static Entity with the Same Values.
Hello Pradip Chavhan,
As stated in the link you provided :
To mitigate this, you can create an App/Module to hold the Month static entity and consume that module on your other apps/modules.
This will duplicate some code that already exists in the OutSystems UI but it will give you the possibility to extend it if needed and consume it.
Hope it helps.
Paulo oOsário
Hello
They do not store information in the database and they do not have direct access to Entities:
You have been able to solve this by creating a blank type module because the library module does not give this permission.
i hope it's help you