
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2016 06:21 PM
Hello all,
I was wondering if there is way to preserve the format in HTML field and display it in service portal page
Thanks for your help!!!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-16-2016 05:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2016 11:04 PM
Hi Dvp
Please go through these links: (It will helpful to you)
Thanks&Regards,
Nasrin Syed
Hit Like/Helpful/Correct, if applicable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2016 11:09 PM
Hi,
Yes try this once and let me know how it works,
HTML template
- <div>
- Data from catalog variable:
- <h1>{{ c.data.message }}</h1>
- </div>
Client Script Controller
- function($scope) {
- var c = this;
- //Watch for changes in the name variable
- $scope.$watch(function () {
- return $scope.page.g_form.getValue('name');
- }, function (value) {
- //Update local data object with data from variable
- c.data.message = value ? 'Content of name variable: ' + value : '';
- });
- }
Thanks and Regards,
Sarika V
Please mark Correct or Helpful or Hit Like

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-07-2016 06:53 AM
Let me give you more details about what I'm trying to achieve.
Here is the field on the knowledge form with type as HTML
When i tried to pass on the data from server to View using data object I'm getting this
The HTML view is not at all in a readable format because of all the tags
So i was wondering if there is a way to preserve format that is on the kb form.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-15-2016 10:37 PM