Redirect without leaving current page

  • 1
  • Question
  • Updated 3 years ago
I have a button on a page that redirects to another page that automatically creates some needed data. I would like this to happen in the background. I need to redirect to the page to pass the current record ID but I don't need the user to actually be directed to the page. Is this possible?
Photo of Tami Lust

Tami Lust

  • 5,280 Points 5k badge 2x thumb

Posted 3 years ago

  • 1
Photo of Tami Lust

Tami Lust

  • 5,280 Points 5k badge 2x thumb
*Bump* 
Does anyone know if there is a way to use a redirect action but not have the user actually get redirected to that page?

Thank you!
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
Tami,

I'm pretty sure that behavior is based on the user's browser settings. I don't think there's any way to force what you're describing.
Photo of Tami Lust

Tami Lust

  • 5,280 Points 5k badge 2x thumb
Thanks Matt,

I didn't think so but wanted to throw out the question to be sure. I tried adding a return parameter in the URL so it would bring me back to the original page, but that didn't work.