Blog

Display Additional Fields in the Ticket page

How to display additional fields on the Service Portal Ticket page.

Clone Widget

  1. Login as an admin

  2. Go to a open ticket that uses the “ticket” page

  3. Ctrl-Right Click the Ticket Fields Widget

  4. In the Widget Editor, click the Hamburger

  5. Clone “Ticket Fields”

  6. Name it “Ticket Fields v2”

Adjust Server Script

  1. Edit this line in the Server Script area and add the field you want

  2. var fields = $sp.getFields(gr, 'number,state,priority,sys_created_on');

PRO TIP: You need to have data in the field to see the field in the Ticket Fields widget

Add Widget to the Ticket Form

  1. Go to a open ticket that uses the “ticket” page

  2. Ctrl-Right Click the Ticket Fields Widget

  3. Click “Page in Designer”

  4. Add the Ticket Fields v2 widget

Remove Old Widget

Sometimes you can’t see a widget in the Page Designer and you have to use the “Page Editor” instead.

  1. Go to a open ticket that uses the “ticket” page

  2. Ctrl-right Click the Ticket Fields Widget

  3. Click “Page in Designer”

  4. Click “Instance in Page Editor”

  5. Click the “Ticket Fields” block.

  6. Click the Hamburger, click “Open in platform”

  7. Click Delete