View: Form
I’d like to add a button next to a specific column that allows users to navigate to another view.
Gemini mentioned that there should be an “Inline Action” option under Data > [specific column] > Display, but I don’t see that option appearing.
Could someone please tell me how I can enable or add this feature?
Hi @Keita_Mizuno
You can attach an action button to a column, but it won’t be displayed in a Form type view.
Position: Inline > Attach to column > (make your choice)
Here is an example:
3 Likes
EDITED: I missed that this was a request for Form view. I updated my original text below.
What is your intent for navigating to another view from a Form View?
AppSheet does support Parent/Child relationships. Setting up such a relationship will allow having Child Input Table in the Parent Form View such that tapping a New button will open a Child Form view to add a new child data row associated with the Parent.
If that is what you are after, we can help set that up.
**************************************************
A workaround to @Aurelien ‘s correct observation that button is not displayed in a Form view, is to create a dedicated column for the button and display it in the Table view. This allows you to retain the original column and have the button separate. Normally the Inline Action will hide the column text and show the button instead.
I typically insert a Virtual Column assigned the type of “Color” (because I feel a Color type column gives the narrowest width but the column could be ANY sensible type). I then assign the Virtual Column to the Inline Action and display that virtual column in the view. See image below.
PRO TIP: In the app view, you actually see 2 action buttons side-by-side. You can assign the same Virtual column to multiple Inline Actions and all the actions will be displayed (if criteria allows). This allows you to have a “button holder” column for a set of actions displayed inline together!!
I hope this helps!
2 Likes