Table `recordAction()` with redirect
Hi all. When a table row is clicked, I need to run some code to generate a URL then redirect to it. It's a SSO link so it has to be generated on click (so I can't use
Does anyone know how I could do this? I've played around with
recordUrl).Does anyone know how I could do this? I've played around with
recordAction but haven't been able to find a working solution.Solution
Yeah I tried that, didn't work unfortunately. I ended up figuring it out. You need to add the action to
->actions() and then just call it by name eg ->recordAction('myAction') . Thanks for the suggestion though.