36
Views
3
Comments
Invalid Property Value  'Month' is defined in an integration or in a Library module
Application Type
Mobile, Reactive

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.



LibraryModule_Error.png
2024-09-26 10-22-06
Siva D

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.

2023-03-16 16-29-51
Paulo Rosário

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

2024-05-30 10-12-48
Anushka singh

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

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