- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2017 07:09 AM
Hey,
So I created a module and set the link type to "Script (from Arguments:)" When I click the module, it does what it's suppose to and then directs to the background script page. Is there a way for me to redirect it to another page, like the homepage or a table page? Thank you in advance.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2017 08:30 AM
Have you thought about using a UI page? It would be pretty simple to embed your server code in a <g:evaluate></g:evaluate> and then redirect from there. Your module would use Arguments (from URL) to call the UI page.
my_ui_page.do
I've done this before to create records and then take them to the parent record that has just been created.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2017 07:15 AM
Hi Kenny,
I'm sure there is. Can you share your current script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2017 07:48 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2017 07:56 AM
Redirect isn't going to work because it sends it to Scripts - Background (basically running async). There's no browser session attached to it so redirection isn't going to happen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2017 08:01 AM
I see. So, is there no way to get it to redirect to another page?