Redirect in listener
Hello, I'm making a custom listener to download a PDF when someone clicks on a button.
The PDF gets generated on a URL so I want to redirect the user to the url when they click on the button. But it doesn't work.
This is the current code:
The PDF gets generated on a URL so I want to redirect the user to the url when they click on the button. But it doesn't work.
This is the current code: