redirect after submitting in custom app
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
Hi,
I have a custom app I am making in ui builder and I am wondering if someone can help me with a updating a the script on a ui action so that after I submit a form, it goes back to the list view of the form just like in native ui.
I tried the following script but it is still not redirecting back to list view after submitting successfully:
answer = current.insert();
if(answer){
action.setRedirectURL(current.getTableName() + '.list')
}
gs.include('ActionUtils');
var au = new ActionUtils();
au.postInsert(current);
0 REPLIES 0