- 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-21-2017 02:33 PM
Thanks for the update John. Let me know if that answered your question. If so, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list. Thank you
How To Mark Answers Correct From Community Inbox