Action Behavior & Virtual Column

I have 3 virtual columns listed below:

This is the detail form view, here the compare function is returning true:

Going to Actions, then going to the computed Add button and into behavior, I’ve just put the compare function that should always return true, so the add button should always be available:

However, the add button disappears, which I’m pretty sure meant it returned false, resulting in the action becoming unavailable, even though the compare function itself is still returning true. When removing the compare function, the add button shows up again.

This is just a very basic demonstration of the problem. I still I want to keep the variables, as I plan on making them dynamic instead of just constants.

I searched for quite a while and the best conclusion I’ve come up with is that the UI is being evaluated before the Virtual Columns are. Is there a workaround or something similar I could do to fix this?

If you are trying to have the “Add” action at row level, then it is not available.

Add action is available at summary views level(table, deck, gallery, card views)

This is so because one adds records to a table whereas row level actions are typically available to change a value in a row or navigation.

3 Likes