Grouped Action: Delete and Navigate

It has been reported that you cannot use a grouped action that

  1. Deletes a row
  2. Navigates to a view

The Grouped Action stops after the Delete.

I understand that you cannot navigate to something that uses the ID of the deleted row.
But a simple LINKTOVIEW() action should work.

I would call this a bug, what do you think?
@Steve Should I contact AppSheet Support?

Status Open
3 9 311
9 Comments
Steve
Platinum 4
Platinum 4

I wouldn’t call it a bug; yours would be a feature request.

Fabian_Weller
Gold 1
Gold 1

OK I changed it to a feature request.
I thought it is a bug because Tony once said that we should be able to do this.

MultiTech
Gold 4
Gold 4

Whenever I brought this up the response that I received was something along the lines of:

  • after you delete the record, there’s no longer anything present in the system for anything to work off of or on.
    • you’re literally deleting the thing that the computer is using for all of the operations.

Hence why everything after the delete action fails.


I agree though, I think the stack should still be able to complete itself.

If you set up something similar in automation, any subsequent actions that fire off after the delete still work.

Fabian_Weller
Gold 1
Gold 1

Thank you @MultiTech_Visions for your insight.
I think at least a LINKTOPARENTVIEW() should work.

WillowMobileSys
Platinum 1
Platinum 1

If you are looking for a workaround solution sooner, rather than later, you could introduce a [Delete?] column and in your Grouped Action simply mark the row for deletion. Later, run a scheduled process to remove all rows marked for deletion.

This does require you to make adjustments to remove “deleted” rows from datasources or views.

MultiTech
Gold 4
Gold 4

This is actually a really good idea for replacing the standard delete action in appsheet.

  • Especially if you’ve got “AppSheet Uninformed” users - meaning someone that’s not that knowledgeable about AppSheet - including a (delete queue) sort of thing can really help smooth things out.
  • It adds in an “Un-delete” buffer layer into your app, in case someone makes a mistake.

Status changed to: Open
Pratyusha
Community Manager
Community Manager
 
WillowMobileSys
Platinum 1
Platinum 1

I'd like to see this get more attention.  To a slightly different dimension to this problem, I added this Feature Idea to use Slideshow to default navigation behavior.  It only covers certain app usage scenarios but may eliminate the need for some custom delete actions with navigation described above.

https://www.googlecloudcommunity.com/gc/Feature-Ideas/Tie-navigation-after-row-Deletion-in-a-Detail-...

Kirk_Masden
Gold 1
Gold 1

I just voted for this, though I would like to do something different.  For reasons I won't try to explain here, I would like to save the key of a row to be deleted for future reference -- before the row is gone.  I can make a grouped action but, if I do so, it will not appear in the top row (with the sync icon) as it does now.  If AppSheet would allow us to put grouped actions in the top bar, this problem would be resolved for me.  😞

Screenshot 2023-04-15 at 14.32.11.png

P.S.  Apparently, AppSheet is planning to add the kind of functionality I'm looking for.  I hope it comes soon!

https://www.googlecloudcommunity.com/gc/Feature-Ideas/Action-prominence-display-options/idc-p/544062