ui action redirecting it to previous page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2024 02:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2024 04:36 AM
Hi @tghadage124 ,
Tried in my PDI
it works seamlessly:
1)Also when your setting any fields to Madatory it will not back to previous page its form validation and you don't have set action.setRedirectURL(current);
2)And also "action.setRedirectURL(current)" its Server side method
However it works.
UI Action:
On the incident form:
I have used close code fied:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2024 04:59 AM
still the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2024 09:51 AM
Hey @tghadage124 ,
Your fucntion call should be in onclick field not in the condition
if its not on the form bring it on
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2024 06:46 AM
Hello @tghadage124
This works in server side script of UI Action.
Please move this to server side script and validate.