UI action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2024 07:22 AM
There is a UI action called assign to me whenever I click the button on a form state changes to assigned and it takes me to the list view of a table, but I want to remain on a form after clicking the UI action.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2024 11:05 PM
Add this to the UI action
action.setRedirectURL(current);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2024 11:56 PM
HI @maheshchokkara
Wherever you have written the update method after that please add action.setRedirectURL(current); to keep in the same page.
Please mark helpful if this resolves your query.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 12:00 AM
Hi @maheshchokkara ,
Generally, any update on the form usually navigate back to the list view of the table. This is ootb behaviour..
inorder to avoid this and to keep the control in the same page you can simply add the below line to the end of the UI Action to navigate back to the same page after the UI action click
action.setRedirectURL(current); // returns back to current page...
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
