
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2017 11:24 AM
Hi all,
I'm on a form with a view forced via view rule ... . Now I have a UI action that will change the "reason" for the view to be forced to a value that will force an other view ... so after the update, I do not stay on the record (with the new view forced) as requested.
>>> action.setRedirectURL(current); at the end of the UI action does not work (most reasonable due to the forced view ... ). Any idea to workaround this issue?
Thank you!
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2017 07:25 AM
Found a WORKAROUND ...
I just added required fields to the current view, that are only relevant if the phone type has been changed .. to I get the work done ... 😉
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2017 12:55 PM
Sorry vemffm even though I kinda like your similies I'll drop out of your thread at this point!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2017 07:14 AM
Anyone????

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2017 07:25 AM
Found a WORKAROUND ...
I just added required fields to the current view, that are only relevant if the phone type has been changed .. to I get the work done ... 😉
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2017 07:32 AM
You can use something like
var url = 'table.do?sysparm_query=id=' + current.sys_id.toString()+'&sysparm_view=default';
action.setRedirectURL(url);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2017 07:35 AM
I updated my previous comment.please try the above mentioned.