how to enter html (url code and next line) in description field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2018 02:31 AM
hi All,
How can I add a URL Link on a catalog category in description field? Can description field accept the HTML text? I need to enter three separate lines in catelgory.
E.g.
Click on google.com
xyz
abc
Thanks,
Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2018 04:03 AM
Hi Ashwini,
Please follow below steps to achieve it.
1) Change the field type of description field to translated HTML for category table.
This will allow you to have a rich text editor in your description field in the category.
2) Go to UI page com.glideapp.servicecatalog_category_view and find the snippet where it's rendering the category description.
Change the code of below one.
You need to comment out the $[HTML:category_description] and add the below-highlighted line.
This will not escape the HTML part from the description and show the line as HTML itself.
Category Page :
Rendered in Service Catalog :
Disclaimer: Since we are updating the OOB UI page, it will skip the further upgrades. You might have to manually merge it in future.
Thanks
Gaurav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-03-2020 09:11 AM