The story goes like this:
- I have a table called “Events” and I heavly edited the “events_Form” system-generated view, including a custom “Form save” action that performs several related actions
- Days later I created a slice called “Actives” for the Events table that include only active events, and changed the main Events table view to use this slice instead of the Events table.
- As a consequence (and news to me), AppSheet proceeded to create a NEW set of system-generated views called “Actives_Detail” and “Actives_Form” , so now when I click on an event or push the Add button on the Events view, these new views are being called instead of the previous ones.
- The problem with the detail view was solved by creating a hidden action on the Events table to call a view using LINKTOROW() and using this action on the table view “on row selected” setting.
- To try to force the table view to call the old events_Form view, I hide the default Add action and created a new custom action called “addEvent” using LINKTOVIEW(). The button shows and when I click it the events_Form is shown, but when I save the record it just creates the record on the Events table but it doesn’t fires the custom action that was associated to the “Form saved” event.
- I then tried to use LINKTOFORM() but then the addEvent button stop showing on the table view.
- If I configure the addEvent button to “Open a form to add a new row to this table” then the button reappears but when pushed calls the “Actives_Form”.
So, there is any way for me to add a custom action to a table view that calls an specific form to add a record on a table?
TIA