Server side equivilent of g_form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-22-2014 08:04 AM
A simple business rule I was creating didn't work and I found out the g_form.setValue function I was using is only client side. Is there a server side equivalent? What would I need to do to get this business rule to work?? (See attached)
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-22-2014 08:14 AM
current.u_fcr = true;
or
current.setValue('u_fcr', true);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-22-2014 08:24 AM
I tried both but had no luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-22-2014 08:28 AM
Depends on your settings for when and what you have for checked for Insert and Update
If it is after then you need to add a current.update()
if it is before then it is good
Check the options for Insert and Update are correct
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-22-2014 08:46 AM
Looks like it works perfectly when I use the before insert rather than after. Thank you!