Customer Portal - My Tickets widget

Bret Smith
Giga Guru

How can I display Short Description of a Catalog Item on the My Tickets widget

 

Incidents are display short description

Catalog requests are displaying the Catalog Item name. I would like to display the Short Description of the Request

 

 
 

My Tickets.png

 

 

 

 

 

 

3 REPLIES 3

Harish KM
Kilo Patron
Kilo Patron

Hi @Bret Smith the short description will be displayed as secondary field if short description is present on the request. If you want short description to be displayed as primary for request then take a look at below widget which is used to display data

HarishKM_0-1710226043628.png

you would need to clone this widget and update the HTML part highlighted below URL which is displaying item name

HarishKM_2-1710226419057.png

 

 

 

Regards
Harish

Shouldn't I be looking at the "My Tickets" widget instead of the "My Requests" or are you saying "My Requests" widget shows the coding that displays Request short description?

 I dont know what you want me to look at when you said "...take a look at below widget which is used to display data"

 

<div class="primary-display">
<a href="?id={{::item.url.id}}&table={{::item.url.table}}&sys_id={{::item.url.sys_id}}" sn-focus="{{::item.highlight}}" aria-label="{{::item.display_field}} , {{::item.display_number}}"> {{::item.display_field}} </a>
</div>

<small class="text-muted" ng-if="c.options.show_secondary == 'true'">
<div ng-repeat="f in item.secondary_displays" class="secondary-display">
<span >{{::f.display_value}}</span>
</div>
</small>

 

I dont know where to replace 'item name' (whatever is displaying in the first column) with the short description of the Request.   The short description of the Incident is being used in the first column of 'My Tickets'   

 

Hi @Bret Smith yes, if your not sure which widget it is, ctrl right click on that ticket page, you will get the widget name.

Regards
Harish