Can you put a redirect on a delete button?

  • 1
  • Question
  • Updated 3 years ago
I am trying to add a delete button into a tab on a detail page of an Opportunity. The tab on the detail page is associated with a custom object and when I delete the record on that tab with the delete button it redirects to the tab view for that custom object. 

Is there a way to control redirects with the delete button? 
Photo of Jeff Rutter

Jeff Rutter

  • 1,162 Points 1k badge 2x thumb

Posted 3 years ago

  • 1
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Create another button on the Title Page component with the following actions:

Photo of Jeff Rutter

Jeff Rutter

  • 1,162 Points 1k badge 2x thumb
Well that did it! Thanks for the help, Pat!