- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2017 09:30 AM
I have a custom reference field called Dept. It's in the incident table as u_dept. It references that user_group table. I have 2 records that have data in that field.
I'm trying to get the text vale from that field so I can use it in my ACL script. I've tried to access it with all that is in the screenshot below but I can't seem to retrieve the value.
Can anyone tell me how I can get the value of "Dept"(u_dept) into a string?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2017 09:34 AM
Hello John,
getDisplayBox only works at client side. At server side use current.u_dept.getDisplayValue();

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2017 09:34 AM
Hello John,
getDisplayBox only works at client side. At server side use current.u_dept.getDisplayValue();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2017 10:15 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2017 10:17 AM
I think the question is only on how to get the value of field in script. No?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2017 02:31 PM
Yes, that's right. I don't have any requirements to limit view at the field level.