- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2024 10:39 AM
Hi,
In the description of a catalog task one can use the "\n" for new line. What are the other formatting options available? Can we italicize or make bold or number a list etc.?
Thanks,
DP
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2024 10:52 AM - edited 08-30-2024 11:21 AM
The task table description field (from which all of the extended tables such as sc_task get access to the same field) has the type of string, so no HTML formatting - bold, italic, order/unordered list,... - is available, only new line.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2024 10:51 AM
@dp11 try this:
https://www.servicenow.com/community/now-platform-forum/making-text-bold-with-javascript/m-p/1057124
……………………………………………………………………………………………………
Please Mark it helpful and Accept Solution!! If this helps you!!
……………………………………………………………………………………………………
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2024 10:52 AM - edited 08-30-2024 11:21 AM
The task table description field (from which all of the extended tables such as sc_task get access to the same field) has the type of string, so no HTML formatting - bold, italic, order/unordered list,... - is available, only new line.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2024 11:02 AM
Hello @dp11 ,
you can format text using certain special characters and HTML tags
- New Line: Use \n to insert a new line.
- Bold Text: Use <b>Your Text</b> to make text bold.
- Italic Text: Use <i>Your Text</i> to italicize text.
- Underline Text: Use <u>Your Text</u> to underline text.
- Numbered List:
<ol>
<li>First item</li>
<li>Second item</li>
</ol> - Bulleted List:
<ul>
<li>First item</li>
<li>Second item</li>
</ul> - Hyperlink: Use <a href="URL">Link Text</a> to create a clickable link.
- Line Break: Use <br> for a line break.
Please Refer to :
If you found my response helpful, please consider marking it as "Helpful" or "Accept Solution." Thank you!