Redirecting to same page in Listbanner Button

nanisonline
Kilo Contributor

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

1 ACCEPTED SOLUTION

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

View solution in original post

7 REPLIES 7

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

Hey buddy thank a lot bro

it is working 🙂 thank for your reply.

Mark as correct answer so that users will find this as correct