Request page
Request page
The Request page template is rendered when a user navigates to https://{yoursubdomain}.zendesk.com/hc/{locale}/requests/{request_id}
.
Available properties
You can use the following properties in the Request page template.
Name | Type | Description |
---|---|---|
request | object | A request object |
group | object | A group object |
assignee | object | The agent assigned to the request user |
custom_fields | array | An array of request custom field objects |
comments | array | An array of request comment objects |
attachments | array | An array of attachment objects |
collaborators | array | An array of user objects describing the request's collaborators (cc's), if any |
promoted_articles | array | An array of promoted article objects |
ticket_forms | array | An array of ticket form objects |
help_center | object | A help_center object that holds information and settings about the current help center |
settings | object | A settings object with custom settings for the current theme |
signed_in | boolean | Whether the user is logged in or not |
featured_posts | array | An array of featured post objects |
satisfaction_response | object | A satisfaction_response object (available in Templating API v3 and above) |
brand | object | A brand object representing the current brand |
user | object | A user object representing the current user |
Available helpers
You can use the following helpers in this page template. You can also use any built-in helpers, global helpers, or global advanced helpers.
Name | Description |
---|---|
breadcrumbs | Breadcrumbs for the current page. See breadcrumbs helper |
satisfaction | A link that lets the user rate his or her satisfaction with how the request was handled. See satisfaction helper |
comment_callout | A link for creating a follow-up ticket, if the current one has been closed. See comment_callout helper |
form | A form for data input. See bellow the available forms for this page |
Note that you can also use the upload helper inside the comment form.
Available forms
You can add the following forms to the Request page template:
Name | Description |
---|---|
comment | A form to send new request comment |
organization | A form to change the request organization |
Use the form
helper to insert them. See Form Helper.
Available identifiers
The following identifiers are available in this page:
Identifier | Form | Field(s) | Description |
---|---|---|---|
organization | organization | select | Identifies a drop-down to select an organization |
body | comment | textarea, wysiwyg | Identifies a text field for a request comment (use wysiwyg for rich content) |
mark_as_solved | comment | label, checkbox | Identifies a checkbox to mark a request as solved |
ccs | comment | token_field | Identifies an email (CC) field |
Example
<nav class="sub-nav clearfix">
{{breadcrumbs}}
{{search}}
</nav>
<section class="request-details">
<strong>{{request.subject}}</strong> (request #{{request.id}})
{{request.description}}
{{comment_callout}}
</section>