Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Add dynamic titles to a page

Create variables to generate descriptive titles depending on the content loaded into a page.

Before you begin

Role required: admin

About this task

Note: The dynamic titles don’t apply to the knowledge article view page in the Knowledge Management Service Portal.

Procedure

  1. Navigate to All > Service Portal > Pages.

  2. Open a page.

  3. Add one or more variables to the Dynamic page title field.

    Depending on the available URL parameters and the dynamic title you would like to define, you can add the following types of values:

    Value typesDescriptionExample value
    One URL parameter variableGenerates a page title using the associated record of one URL parameter.%first_name
    More than one URL parameter variableGenerates a page title using the associated records of multiple URL parameters.%first_name %last_name
    Static value and a URL parameter variableGenerates a page title using a static value and the associated record of a URL parameter.Employee: %first_name

    Enter the variables in the intended syntax of the title. For example, to have an employee's name and title separated by a hyphen, you would enter %first_name - %title. In the page title, this syntax would render as something like "Beth - System Administrator".

  4. Click the Dynamic page variables related list tab.

  5. Click New to create a new variable.

  6. On the form, fill in the fields.

    Associate a field with a URL query parameter. When the value of the query parameter is used to display content, a field from the same record is used to generate the title. You can define the field to generate the title through the Table field field.

FieldDescription
NameVariable to store the value. Must begin with % and cannot contain spaces. This value must match one of the variables defined in the Dynamic page title field.
ApplicationApplication scope of the page. This value is read-only.
PagePage to apply the dynamic variable to.
URL query parameterURL parameter to indicate the record that is being displayed. You can enter any string.Tip: To create a URL parameter that is meaningful and easily identifiable, use a field name from the record. For example, to refer to a knowledge article, you can enter number to reference the article by its number.
Relevant table columnTable field to match the URL query parameter. For example, if you entered number to reference a knowledge article by its number, select Number. If left blank, the system uses the record sys_id.
TableThe source table of the URL query parameter record.
Table fieldField from the table defined in the Table field. This field is used to generate the dynamic page title.
If more than one dynamic page variables match a variable defined in the **Dynamic page title** field, the record with the latest Updated date is used.

Variables with same name aren't supported and won't be created multiple times. Each variable should be unique.
Image omitted: dynamic-var.png
A completed dynamic page title variables form that populates the page title with a user's title.
In this example, the value of the Title field in the User \[sys\_user\] table populates the page title. The `%title` variable must also be defined in the **Dynamic page title** field in the page record.
  1. Click Submit.

Result

When the page loads, the record defined in the URL query parameter displays. The field defined in Table field determines the title of the page.

Parent Topic:Improving search engine optimization for portals

Related topics

Create and edit a page using the Service Portal Designer