- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2022 07:06 AM
Hi Team,
is there any why to bold text for this - current.request.requested_for.getDisplayValue();
current.work_notes = "This request is created behalf: " + current.request.requested_for.getDisplayValue();
Please help me on the same.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2022 07:08 AM
Hi,
try this
current.work_notes = "This request is created behalf: " + "[code]<b>" + current.request.requested_for.getDisplayValue() + "</b>[/code]";
regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2022 07:08 AM
Hi,
try this
current.work_notes = "This request is created behalf: " + "[code]<b>" + current.request.requested_for.getDisplayValue() + "</b>[/code]";
regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2022 07:09 AM
HelloAnil you can do this using code tag like below
current.work_notes = "[code]This request is created behalf: " +"<b>"+ current.request.requested_for.getDisplayValue()+"</b>[/code]";