Service Portal 'SC Categories' hints and 'SC Category Page' title
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2017 03:48 PM
HI All:
I have a requirement to add mouse over/hover hints to the categories in the SC Categories Widget. I was thinking that I could use the OOB column 'description' in the Catalog Item. It would have a similar behavior as the fields in the standard forms that that display the value in the 'hint' column. like this:
In the same vein, I also want to show the Title And Description at the top of the 'SC Category Page' widget, similar to below. I had some success by modifying the server script but it messed up the breadcrumbs widget.
I was hoping someone had either already done these or point me in the right direction.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2017 08:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2017 11:41 AM
Thanks Chandu:
I tested the property and it looks like it only works for a non-Service Portal application. I am using Service Portal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2017 11:47 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2017 12:23 PM
For your second question, the title of the category should already be there. To add the description, you would need to clone and modify the 'SC Category Page' widget.
Add the line to show the description below the title in the HTML Template:
<h1 class="h4 m-t-none" aria-label="{{data.category}} ${Category}">{{data.category}}</h1>
<p class="catalog-desc">{{data.description}}</p>
And add a line in the Server Script to set the description so the HTML can display it:
data.category = categoryJS.getTitle();
data.description = categoryJS.getDescription();