How to read HTML content from custom table in Widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2023 09:30 PM
Hello All,
I have a custom Table in which i have HTML field, where i'm storing Some HTML data in tabular format..
I need to show this in my Catalog Form in Service Portal.
I've created a widget and calling the HTML content in the below way..However, its not displaying anything on the Catalog Form.
when i check the logs it did read the content..Not sure why it is not visible on the form..Can someone help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2023 08:47 AM
Have you checked in preview

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2023 09:23 AM
Try with ng-bind-html="data.htmlContent"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2023 01:04 PM - edited 02-05-2023 01:05 PM
In addition to using the ng-bind-html directive, one needs to "authorize" the html in the client controller using the $sce service.