How can UI Action Button 'Approve' redirect to list view of custom table after clicking 'Approve'

Blitz
Tera Expert

When Clicking the UI Action button 'Approve' state changes to "Approve" but how to redirect it to list view of custom table after clicking the button 'Approve' what script?

snip.png

state value for Approve is 10 

Name of Custom: Table: x_762234_campuscon_connect_requests

1 ACCEPTED SOLUTION

p_n
Tera Guru

Hi @Blitz , You can use action.setRedirectURL() to redirect current page to specific record or URL. 

 

Refer this link

 

Regards

Pradnya

View solution in original post

4 REPLIES 4

Aman Kumar S
Kilo Patron

HI @Blitz ,

Did you try simple current.update();

 

Why do you want to use client side UI action, rather keep it simple:

current.state = '10';

crrent.update();

 

Best Regards
Aman Kumar

p_n
Tera Guru

Hi @Blitz , You can use action.setRedirectURL() to redirect current page to specific record or URL. 

 

Refer this link

 

Regards

Pradnya

I already solved it, but thanks for the suggestion

@Blitz ,

Please share the correct solution and mark it as correct solution so others looking for similar solution can do the same.

 

Best Regards
Aman Kumar