- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2019 06:20 AM
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2019 11:29 PM
Hi there,
Unfortunately, this is not possible with the out-of-the-box setup. Script Include "VaRecordCardRenderer" does amongst others:
fieldObject.value = value == null ? gr.getDisplayValue(field) : value;
Where the field you are entering, is touching the gr.getDisplayValue part. Obviously, you are not entering a field though a variable instead. I do understand what you are trying to achieve, though this will simply not work.
You will have to change the Script Include for this.
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2019 11:29 PM
Hi there,
Unfortunately, this is not possible with the out-of-the-box setup. Script Include "VaRecordCardRenderer" does amongst others:
fieldObject.value = value == null ? gr.getDisplayValue(field) : value;
Where the field you are entering, is touching the gr.getDisplayValue part. Obviously, you are not entering a field though a variable instead. I do understand what you are trying to achieve, though this will simply not work.
You will have to change the Script Include for this.
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field