- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2018 06:36 AM
Hi Folks,
Can anybody help me with redirecting to same page using list banner button. I am using the similar code which is used in Form button
action.setRedirectURL(current);
action.setReturnURL(current);
but no luck, can anybody suggest how it works in List banner buttons.
Thank you,
Naveen Beswa
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2018 06:15 AM
Try this in UI Action
action.setRedirectURL('u_table_2.do?sys_id=' + parent.sys_id);
Replace u_table_2 with parent table and u_reference_field_to_table2 to the reference field from parent to child.
This is working fine in my instance. Let me know if you face any problem
Mark as helpful or correct based on impact for you.
Thanks & Regards
Sai Krishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2018 01:28 PM
The above code must work but I don't understand why this code is not working. You can visit Hotmail Customer Service for the further suggestion in this regarding.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2018 12:23 AM
action.setRedirectURL('u_table_2.do?sys_id=' + parent.sys_id);
this is working, thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2018 03:25 AM
action.setRedirectURL(current.getTableName()+'_list.do');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2018 05:13 AM
Hi Gurpreet,
This button is present on a related list of "Service Request" from which is about "adjustment table"
so technically speaking this button is written on "adjustment" button which acts as current, but as this button is located in Service Request form(which acts as parent for adjustment).
when this button is clicked it should remain in SR form only ie..on it parent.
Could you please suggest code changes which fulfills my requirement.
Thanks & appreciate your help,
Naveen