I have three tables showing in my dashboard - Devices, Loans, Repairs. To add a loan or a repair to a device, we can select a device in the Devices section, then click on Add in the relevant table. Perfect.
Except that if the user clicks on the Add button in the Loans or Repairs table without selecting a device first, the form opens up with the Device details empty.
I'm trying to prevent that from happening.
Here's my dashboard
I can get it to show inline, which is okay if there's no other solution, however that also is misbehaving. According to the guidance, it should show next to the chosen column.
However, this is what I see - it is replacing the column, not showing next to it. (It tries to do this against the Serial Number column but I want to see that value, so here I have it against a different field)
In case it is the action itself that is causing this issue, the Target is
LINKTOFORM("Loans_Form",
"Device",[SerialNumber])
What on earth am I doing wrong, or have I found some bugs?
@Djmiles wrote:
However, this is what I see - it is replacing the column, not showing next to it. (It tries to do this against the Serial Number column but I want to see that value, so here I have it against a different field)
In table view, if you place an inline action attached to a column, the value of that column and column heading are NOT shown in the table view but just the action icon.
Please see the last section of the help article below
Deck and table view types - AppSheet Help
You could create a VC just to attach the inline action. The show_if for this VC can be CONTEXT("ViewType") ="Table". and attach the inline action to it. Thus the VC serves the purpose of only showing the inline action. Alternatively, you could attach the inline action to otherwise typically hidden column(s) such as key column or row number and make those columns to show only in the table view.
Okay, so not a bug, just unclear guidance. Good to know.
User | Count |
---|---|
25 | |
15 | |
4 | |
3 | |
3 |