OBLYTECH Logo
OBLYTECH Logo

Service Portal Designer: Build and Edit Portal Pages

The Service Portal Designer is the visual editor where administrators build portal pages from containers, layouts and widgets. Containers hold layouts that split the space into columns, and widgets sit inside those columns. You open the Designer from Service Portal Configuration, choose a portal, and drag pieces onto a page.

Pages, containers and widgets form the structure of a portal page

A portal page is built in layers. The page houses containers, each container holds layouts, and the layouts define the space where widgets are dropped. The layout controls how many columns exist and how wide each one is, while the widget decides what appears inside a column. The page ID is the value you use to assign a page to a portal, and it also sets the page’s URL. If you are new to the portal itself, start with What Is ServiceNow Service Portal? A Plain-Language Guide before working through the Designer.

Base system pages work well as starting points. Cloning one creates a new widget instance for each widget on the page, so the copy can change without touching the original. Base system widgets are read-only so that they receive future updates. If you need a different version of a widget, clone it; the clone becomes a custom widget and no longer picks up updates from its source. Adjust the layout and page settings first, and clone widgets when the built-in behaviour falls short. For the wider concept behind widgets, see ServiceNow Service Portal Widget Explained.

Opening the Designer and building a page from layouts

Building pages requires the sp_admin or admin role. The path runs through All, then Service Portal, then Service Portal Configuration, and then Designer. Switch to the portal you want by selecting its name in the header, then pick an existing page or select Add a new page.

The build sequence follows the same order each time:

  1. Drag a Container onto the page.
  2. Drag a layout into the container. The layout sets the columns, which follow the Bootstrap grid and add up to 12.
  3. Use the filter to find a widget, then drag it into a column.
  4. Configure the instance options of any widget that has no default content. Until those options are set, the widget does not appear on the page. The guide to configuring Service Portal widgets with instance options explains that step in detail.

Use the Preview button in the header to see the page as you design it, and switch to tablet or mobile view from the same header. Checking the narrow view early saves rework.

Use the breadcrumbs to select the container you want to edit. Select its edit icon to open the container record. Container records hold a background colour, a background image and a background style, set from the container’s edit icon. For theme-wide colour and branding decisions rather than single-page ones, see How to customise a Service Portal: themes, branding and widgets.

Page properties control access, URLs and styling

Edit Page Properties opens the page record in the Pages table, stored as sp_page. The table below covers the fields that change who sees a page and how it is addressed.

Field What it controls
Title The internal name, used to search for the page in the Designer
ID A unique identifier that assigns the page to a portal and sets its URL
Public Lets people view the page without authentication; the roles listed no longer restrict it
Draft Limits viewing to users with the admin role; everyone else sees a 404 page
Roles Restricts access to the page by role
Short description Internal note, not shown to visitors
Page Specific CSS Overrides the styling the page would otherwise inherit from its theme and branding
Dynamic page title Builds page titles from variables tied to the loaded content
Use SEO script Turns on a script that adds canonical URL and hreflang tags
Human readable URL structure Adds descriptive keywords to the page address for public and non-public pages

Draft is especially useful while you are still building. Turn it on so regular users cannot reach half-finished content, and turn it off when the page is ready. Public deserves the same care in the other direction. When it is selected, all users can view the page whatever roles are listed, so check the roles field before enabling it on a page meant for employees. Before a portal goes live, the Service Portal testing and acceptance checklist gives a set of checks to run against it.

Container settings decide structure, semantics and background

A container is the outer wrapper that holds layouts. Its record lives in the Containers table, stored as sp_container. Order sets the sequence on the page, and the lowest number appears above the others. Width is either Fixed or Fluid. Use the CSS class field with care, because it can conflict with page-specific CSS.

The semantic tag sets which HTML element wraps the container. Each option maps to a specific semantic element:

Semantic tag Purpose
None Places all content between the header and footer inside the main element
Main Wraps the content unique to the page; configure it on one element per page
Header Introductory content; can appear more than once
Nav Page-level navigation; can appear more than once
Section Groups related content under a shared heading or theme
Article Self-contained content that can stand alone or be reused
Details Expand and collapse sections, suited to FAQs
Summary The clickable label of a details element
Time Machine-readable dates, times and durations
Fig caption The caption of a figure

Main can be applied to a container, row or column, so choose the level that wraps the real page content and no more. If you are unsure, None places everything between the header and footer inside the main element, which suits a simple page.

The Bootstrap alternative setting removes the standard grid classes from the container. Width, the row’s Bootstrap class and the column Size fields then stop applying. Select it when you plan to write your own classes and CSS for the container, row and column records.

Subheaders, preview and icons refine the page after it is built

A subheader is a container that stays under the page header while the rest of the page scrolls, which suits a secondary navigation strip or a set of quick actions. To create one, select the container, select its edit icon, and then select Move to header. The container sticks to the header and does not scroll. This change requires the admin role.

Font icons are the other refinement. Attach the font file to the page record, then add a font-face definition to the page’s Page Specific CSS, pointing its source at the sys_id of the attachment. Define a class for the icon’s size and display, and any widget on the page can use icons from that set. The HTML widget’s Source Code option is the simplest place to insert one. Adding a font needs the sp_admin or admin role.

Replacing a page without editing each widget reference

Pages get renamed, rebuilt or retired, and widgets often point straight at a page ID. The Page Route Map avoids editing each widget. A record in the Page Route Maps table, stored as sp_page_route_map, redirects widget references from one page to another. Navigate to All, then Service Portal, then Page Route Maps, then New. The role needed is sp_admin.

  • Route from: the original page. Route to: the replacement.
  • Service Portal(s): if none is selected, the redirect applies to all portals.
  • Active: the redirect takes effect while this box is ticked.
  • Roles: users who hold none of the listed roles are not redirected. With no roles listed, the redirect applies to everyone.
  • Order: when several active records share a Route from value, the lowest order applies first, and the oldest record wins a tie.

A route map changes references, not addresses. Creating the record redirects references made from widgets, but typing an old page ID into the address bar does not trigger it. Plan visitor communication around that gap when you move a page. For other causes of a page that will not load, see the Service Portal troubleshooting guide.

Two related points prevent confusion. You do not need a route map to send visitors to an error page; set the 404 page field on the portal record. Upgraded instances also need the Standard Ticket Route record ticked active, which an admin or sp_admin user can do from the same navigation path.

Frequently asked questions

Who can open the Service Portal Designer and change pages?

Users with the sp_admin or admin role can work in the Designer. Some tasks, such as creating a subheader, call for the admin role specifically, so check each step’s requirement before you start.

Why does a regular user see a 404 page for a finished-looking page?

The page is probably still marked as Draft, which limits viewing to users with the admin role. Clear the Draft setting when you are ready to publish. If the page also has roles listed, users without those roles will not see it either.

Why does a widget I added not appear on the page?

Widgets without default content need their instance options configured before they display. Open the widget’s options and complete them, and the widget will appear in the layout you placed it in.

Do I need a route map to send users from an old page to a 404 page?

No. A route map redirects widget references to a replacement page. For missing pages, specify the 404 page in the 404 page field of the Portal record.

What happens to widgets when I clone a base system page?

Each widget on the page gets a new widget instance, so the copy is independent of the original. Cloning a widget on its own is different: the clone becomes a custom widget and stops receiving future updates from its source.