Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Add Case number to header on the csm_ticket page

Richard T
Kilo Guru

Hi

Would it be possible to add the Case number before the short_Description at the top of the ticket page (csm_ticket)

I appreciate the ticket  number along with other key fields are on the right hand side but it would be good if I could have the case number followed by short description at the top.

Thanks

 

1 ACCEPTED SOLUTION

Prins Kumar Gup
Giga Guru

Hi Richard,

1. If your requirement is kind of below SS.

find_real_file.png

2.  So please go the "csm_ticket" page and open the "Ticket Conversation" widget in a new tab and clone this widget.

find_real_file.png

 

3. After cloning the widget make a change in the HTML part.find_real_file.png

 

4. Go the page "csm_ticket" and remove ticket conversation widget, add your cloned ticket conversation widget.

find_real_file.png

Please Hit like, Helpful or Correct depending on the impact of the response if this solves your query!!

Thanks,
PKG

 

 

View solution in original post

4 REPLIES 4

asifnoor
Kilo Patron

Add the ticket number to the form.

Then create an onload client script and 

g_form.setValue('short_description',g_form.getValue("number")+"-"+g_form.getValue("short_description"));

Kindly mark the comment as a correct answer and also helpful once worked.

Prins Kumar Gup
Giga Guru

Hi Richard,

1. If your requirement is kind of below SS.

find_real_file.png

2.  So please go the "csm_ticket" page and open the "Ticket Conversation" widget in a new tab and clone this widget.

find_real_file.png

 

3. After cloning the widget make a change in the HTML part.find_real_file.png

 

4. Go the page "csm_ticket" and remove ticket conversation widget, add your cloned ticket conversation widget.

find_real_file.png

Please Hit like, Helpful or Correct depending on the impact of the response if this solves your query!!

Thanks,
PKG

 

 

Thank you, that was just what I was looking for.

Regards

Richard

Your Welcome!