- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2020 12:02 AM
Hi All,
This is an UI Policy script.
I want to make the text KB article as BOLD. How can I do that?
Can anyone suggest.
Thanks,
Priya.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2020 01:47 AM
Hi
This isn't possible with a javascript alert since they don't accept any HTML input.
Note:- to make text bold is really a requirement, then Try writing a UI Page and call it in the place of the alert.You can make them BOLD(give what ever styles you want to give)
Hope this help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2020 12:14 AM
Hi Priyarao,
As far as I'm aware there is no way to make the text bold in an alert box.
How to get Text BOLD in Alert or Confirm box? - Stackoverflow
Maybe you can try a different type of alert?
Scripting alert, info, and error messages - SN Docs
Regards,
Jason
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2020 12:39 AM
Thanks for the info Jason 🙂

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2020 12:43 AM
Hi ,
This isn't possible with a javascript alert since they don't accept any HTML input.
The alert()
dialog is not rendered in HTML, and thus the HTML you have embedded is meaningless.
Please mark as correct and helpful.
Thanks
Sanjay

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2020 12:56 AM
Instead of alert, go for Error message maybe and you can even include the hyperlink of the KB Article itself in the message?
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if it helps resolve your problem
Thanks,
Saji