Current Im doing something like a Delete functionThis function have various way to deleteSo I think about using static entity for each options (to avoid hardcode)
So this is my Static entity
I will use the Label to show text on the radio button, and the value for logic parameter
The static Entity is in BL module, I refer it to the UI module
now I shall put the label to the expressionm but
I just can use the Identifier of this record, can use label or value or anything?
I also tried the get function but its not working too!
How I suppose to get the values of static entity @@?
Hello Huy,
You need to fetch your static on the screen and create a list around your buttongroup. You can set a local variable for your buttongroup of the static identifier you are using. Below that you put 1 radiobutton with the expression calling your list. I put an oml below.
You can also look at the following component. https://www.outsystems.com/forge/component-overview/11262/dynamic-radio-group-o11
T see so there is no way around to simplify this like Entities.DeleteOption.Now,Label but we have to use a Aggregate to fetch a list, then I will use the Index
Look voluminous and complex but I dont see any way other than this
Thanks for your help
If you use a list like the example of Nick you don't need to put the index.
I will leave a example in here.