Ticket widget that shows full field text

Bidduam
Tera Guru

We are using the out of the box widgets to show ticket details to our clients, however we have a number of comments from them that the information in the tickets are hard to see. Particularly the description field.

 

What we get is a few words shown and the only way to see the entire description field text is to hover the mouse over and make it come up in a chat bubble.

Like this:

Bidduam_0-1678057327293.png

 

Has anyone got an edited widget that shows the entire description field, or a widget that displays this correctly?

1 ACCEPTED SOLUTION

Allen Andreas
Administrator
Administrator

Hi,

If possible, I wouldn't recommend editing the out of box widget or using a custom widget for this unless absolutely necessary. With that said, you can follow the documentation here: https://docs.servicenow.com/bundle/rome-servicenow-platform/page/build/service-portal/task/configure... - to configure the standard ticket widget for this table of records (i.e., Incident). You can select the description field to be "Description" and then set it to always show. This will present a "Show more" drop-down on the ticket and you can see more information from that field (description):

AllenAndreas_1-1678069146821.png

 

AllenAndreas_0-1678069098533.png

 


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

8 REPLIES 8

Thanks @Allen Andreas yes I had to clone the oob widget and change one word from false to true. So pretty much still oob, but yes it's not the oob widget.

How you managed it to show expanded always.

@Hemanth Kumar G as I mentioned in my reply, I had to clone the OOTB widget - New Standard Ticket Header .

 

Clone it, update line 46 of the cloned widget, so 

<div ng-if="data.description" ng-init="c.description_toggle = true">

 

is

 

<div ng-if="data.description" ng-init="c.description_toggle = false">

 

Save the new widget, update the page to use the new widget rather than the ootb one.

 

 

 

Community Alums
Not applicable

Hi @Bidduam ,

Unfortunately, OOTB I don't think any configuration allows you to expand that field.