- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2016 10:47 PM
Hi All,
I am having issue with displaying the reference field value using business rule advanced scripts..
When normal field is taken its displaying OK but when reference fields is taken into consideration its shows SYS_ID
whereas contact is shown as it is .
i tried with getvalue and all dint help attched is the o/p and the code written
Tried both line 29 and 30 not helping.
Please can you guide.
Thanks
Abhinab
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2016 10:52 PM
Hi Abhinab,
Append getDisplayValue() to the reference fields i.e glideinc.caller_id.getDisplayValue()

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2016 12:13 AM
Thanks Abhinab for the update.
getDisplayBox('caller_id').value will work at client side only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2016 12:31 AM
getvalue gets the value of a field and getdisplayvalue returns the value of the field (marked as 'Display' in its dictionary) ,as reference field returns sys_id ...we use getdisplayvalue to get the actual desired value of the column/field.
check 5.5 of below:-
Mark Correct if it solved your issue or hit Like and Helpful if you find my response worthy.
Thanks,
Deepa