- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2020 07:41 PM
HI All
I have set the UI action script as below, but it doesn't work. What is the cause?
current.u_reference_field=='';
action.setRedirectURL(current);
current.update();
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2020 08:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2020 09:03 PM
Hi,
Update like below,
current.u_reference_field = '' ;
action.setRedirectURL(current);
current.update();
== is an equality operator checks whether its two operands are equal, or not in if condition or any other.
Thanks,
Rojerio.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2020 09:30 PM
Hi Nakata,
The answer you have marked correct is already provided by Willem, So you should mark his response as correct.
Thanks,
Dhananjay.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2020 10:12 PM
Thank you Dhananjay, really appreciate you pointing this out 🙂

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2020 10:23 PM
WC Willem.
Have a great day.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2020 10:00 PM
We do not want to reward users posting duplicate answers.
Please update the Correct and helpful answer to my answer to prevent users posting duplicate answers.