- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2023 08:30 PM
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?
state value for Approve is 10
Name of Custom: Table: x_762234_campuscon_connect_requests
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2023 09:44 PM
Hi @Blitz , You can use action.setRedirectURL() to redirect current page to specific record or URL.
Regards
Pradnya

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2023 09:37 PM
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();
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2023 09:44 PM
Hi @Blitz , You can use action.setRedirectURL() to redirect current page to specific record or URL.
Regards
Pradnya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2023 10:56 PM
I already solved it, but thanks for the suggestion

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2023 11:12 PM
@Blitz ,
Please share the correct solution and mark it as correct solution so others looking for similar solution can do the same.
Aman Kumar