Hello All,I am create a library in O11 and creating a dropdown based on static entity but i am not able to data from Static entity as aggregate /SQL or server action. How i will do that any solution.Thanks for the help in advance.
You can see this documents -Libraries For Dropdown -use strucutre and bind the value with help of list append OnInitialize.Likestr.Current.value = Entities.Entity1.Record1str.Current.value = Entities.Entity1.Record2 str.Current.value = Entities.Entity1.Record2Hope this will help you.
static entities in libraries are completely different from static entities from an application. Since libraries don't contain persisted data, they are more like an enum. Unfortunately, OutSystems doesn't offer anything out of the box to create a list of them, so you'll have to hardcode it.
For example, appending them each to a list by hand, meaning that this is fragile in maintenance in case there is a new record added later.
Hi
In OutSystems (both OutSystems 11 and OutSystems Developer Cloud / ODC), a Static Entity created inside a Library module behaves differently than one created inside an application module. Because Library modules cannot persist data and are architected for pure, lightweight reuse, Static Entities inside them function strictly as code-level enumerated constants (Enums) rather than database tables.
Please take a look into this documenation
Libraries - OutSystems 11 Documentation
Regards
Murali