I am using an external database that has a column called 'Status', of type Enum Text(1) with the following parameters:
'p' for Pending'o' for OnGoing'd' for Done'c' for Canceled
Based on this, I created a static entity to store the Label values corresponding to each status, with the id of type Text(1). What would be the best approach, when listing this table on an OutSystems screen, instead of using Enum, to get the label of the static entity using expressions?
Using Reactive Web, I cannot use Client Actions as a function to get the static entity, and I also cannot use Join, as the database is external.
One approach to consider involves the following steps:
Disclaimer: This might not be the best approach, but it's one possible solution to achieve the desired outcome.
What if the status table (or other table ) has 1000 records, doesn't it will impact the performance? Like if i have similar situation where I have stored the label and all the static text in Static entity and then i want the label to be fetch in expression? as we can't use the get function on UI we have to loop through each record?