Use the Zendesk template language, Curlybars, to add extra ticket properties to the help center requests page.
End users can track their support requests in their user profiles under My activities > Requests. By default, end users see the Subject, Ticket ID, Created, Last activity, and Status of a ticket when they view their requests:
Add more content to this page in two steps:
Step 1: Select properties to display
Because the table you edit uses the request object, you can add any request object properties. Find a list of properties and their descriptions in the API documentation. You can't update the activities table with custom fields. Compile a list of property names to add to the requests page. You'll need them in the next step.
If you want to add Priority or Type, make sure they're set to be visible to end users.
Step 2: Edit the help center code
Decide which request object properties to display, then edit the help center code. This example uses Priority.
{{t 'status'}}. For simplicity, this workflow doesn't use such helpers. For more information, see developer documentation.To edit the help center theme:
- Edit the code of your help center theme
- Select the
requests_page.hbstemplate to modify - Locate the activities table in the HTML. Each column has a table header (
<th>) and a data row that corresponds (<td>) to show the content
Table header:
Table data: - Add a header row in the correct place. In this example, to place the new column last, add the header tag and column name after the Status header
This adds the header, without content, to the activities table: - Add a data row to show the value. Place the table data in the correct order. In this case, place it after the Status column.
-
Enter your request object property in the data row you add. In this case,
priority_name.
This shows the Priority when it exists in the ticket: - Click Publish to apply and view your changes
For more information, see Submitting and tracking requests in the help center Customer Portal.