I've got a delete button in a grid on a list. I have two different DB.collections that loads on this list. Currently when you click on the delete button it first sets a local variable with the ID then it runs a "delete" service and then an "update" service. However, this only works for one collection. How can I select which service runs when I hit the button? When I load the list(from a manage button) I set a local variable with the list name in it.
*I couldn't use the delete button with the list component because I also want to have the search function. When I turn on the search function the delete button goes away. That is why I had to put the grid in the list.