1
0
-1
1 answer
- 10-1
I tried your simplified code to validate if redirection works or not.
import org.joget.apps.datalist.model.DataListActionResult; DataListActionResult result = new DataListActionResult(); result.setType(DataListActionResult.TYPE_REDIRECT); result.setUrl("https://www.google.com/"); return result;
redirection happens correctly. there might be something wrong with the logic in your overall code then.
Add your comment...
Hi,
I want to redirect to particular URL using Bean Shell Datalist Action.
My Bean Shell Code is:
Here, DB operations working perfectly but there is a issue to redirect to URL.
Can anyone tell me Is this is perfect for redirection or I can use another option for redirection.
Thanks!