- 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-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-15-2016 10:54 PM
Use
glideinc.caller_id.getDisplayValue()
Thanks,
Mihir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2016 12:08 AM
it worked , I tried with getValue()
can u please tell me what is differnce between the getDisplayValue() and getValue() function
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2016 12:12 AM
basically the comparison I want to know of getDisplayValue() and getValue() and getDisplayBox('caller_id').value.. as i tried for the reference and it appears different function needs for different code.. @Mihir Mohanta @pradeep sharma