- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2016 10:19 AM
Hi,
I have a field called "Problem" in the incident form, which I need to change the backgroung color base on 3 conditions, one of those is a query in another table. So, I need to use a script include to make the server query.
I wonder if I can use this script include as the evaluator in the "Value" field of the Style record for the "Problem" field?
Thanks.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2016 03:31 PM
Sorry, got interrupted and hit Post too quickly...
Since it appears that this is fixed in another release, there's not much more for us to do here.
For those viewing this later... The following field style value does not highlight the cell with the background-color:tomato in Geneva Patch 5. It appears to work fine in Geneva Patch 6.
javascript:true
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2016 01:21 PM
Hi Guys,
I have tried all your ideas but it is still not working, the instance is in Geneva Patch 5. One of my partners tried on Geneva Patch 6 and it worked, I wonder if there is a property or something that I should activate to make possible to use the script include as the value evaluator, and if that might be like an upgrade from patch6?
Thanks,
Cinthya.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2016 03:00 PM
Can you share your script include and the line used in the field style? We can take a look.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2016 03:21 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2016 03:25 PM
You are not passing in any arguments in the function definition. but you are passing current when calling that function. Remove current and you are good to go

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2016 03:27 PM
Does it color the cell if you just do:
javascript:true