Show (inline) action button only in Detail view and not also in Table view

Is it possible to show (inline) action button only in Detail view and not in Table view ?

I've insert in behavoiur: 

SHOW_IF = CONTEXT("VIEWTYPE")="Detail"

with no success ... the action button is not shown at all either in Detail view ...

1 7 134
7 REPLIES 7

I'm not sure there's anywhere to put an inline button on a table layout as there's no space between the fields.

I've only ever been able to use inline action buttons on detail views.

I might be wrong though.

sorry probably my request was not clear. i'd like to show the inline button ONLY in detail view and not also in table view

Conditionally show or hide a column value (Show_If)

Show_If only controls the appearance of a column's 'Value'. Apparently an action attached to a column is not the value of the column.

Set the expression to the Only if this condition is true property of the action itself

Or

Delete the column from the table view definition

I insert in action inline button behavior:

Screenshot 2025-02-26 alle 07.16.43.png

but now also the column (and not only action button's icon) where action button is inline is not shown anymore in table view, while it's shown in detail view ... how to solve that ?

The issue seems to be related to add to column inline, when i add to that column the action button inline the column disappear from table view and is visible only (with related action icon inline) in detail view, is it strange isn't it ?

In the table view, if you attach an action to a field, then it seems the column value is replaced by the action icon. Therefore when you disable it in the table view, you do not see the value either.

So displaying only the value in the table view and both the value and the action in the detail view cannot be done in AppSheet.

@FaCe Hi, add a VC with a " " as expression, a display label of " " and attach your action to that column, then position(order) the VC next to your real column, this acts as a placeholder for actions without touching the original column.

Screenshot_20250227_072315.jpg

โ€ƒBut I suppose this is not what you originally asked :).

In terms of seperating the Inline action on column on detail to be different from Inline table view, perhaps create a VC  with exact same value as the original column, then use the one on Detail view with Inline action, on table view use the other one, perhaps also using a slice on the table view with that action omitted could work instead of using a VC.