Make question appear as bold in service portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2017 05:41 AM
Hi All,
I have a single line text variable in catalog item, now i want to make question appear as bold. How can i do that and it should work in serviceportal sc_cat_item page also.
Thanks and regards
Swamy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2017 06:31 AM
You can add the question name in HTML tags- <font size=4><i>Question</i></font>
You can also add an onload client script if these HTML tags appear while displaying the question-
GlideStringUtil.escapeHTML(); function to remove the tags.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2017 10:31 PM
Hi Manoj,
Thank You,
I tried it already but it is not working in service portal.
i will be really greatful if you can show me the working script in serviceportal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2017 06:41 AM
Amaradi,
Please go through this post for different options
https://www.servicenowguru.com/system-ui/field-styles-service-catalog-variables/
Thanks
Madhu
PS: Please hit Like/Helpful if it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2017 10:31 PM
Hi Madhu,
getControl() method will not work in service portal.