Content types

  • Release version: Washingtondc
  • Updated February 1, 2024
  • 2 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Content types Configure user experiences

    Content types in ServiceNow's Content Management System (CMS) allow for site-specific control over how data is displayed. Each content type corresponds to a specific table and defines the layout and interaction of documents such as knowledge articles or catalog items. Different themes can be applied to enhance user experiences across various sites.

    Show full answer Show less

    Key Features

    • Content types dictate how documents appear in lists and detail views, crucial for user navigation.
    • Each content type can be associated with different sites, enabling unique detail pages for identical content types.
    • Common content types, like service catalog and knowledge base, are included in the base system.
    • Customization of content types can be performed via the Content Types related list on site records.
    • Users with the contentadmin role have the ability to create new content types.

    Key Outcomes

    By effectively configuring content types, ServiceNow customers can enhance the presentation and accessibility of documents within their CMS. This ensures that users can easily find relevant information through properly formatted lists and detail pages, improving overall user satisfaction and efficiency. Additionally, the ability to override default settings for specific sites offers flexibility tailored to organizational needs.

    Content types provide site-specific control of how system data defined by templates is rendered.

    In the site, one page displays a list of knowledge articles, and another page displays catalog items or incidents or a combination of the two. Different themes can be used for types of content and each theme can provide different user interaction. Content types define the pages that display content from a table. Each content type corresponds to a table.

    Every type of document that the CMS displays has an associated content type. Changing the content type requires knowledge of Apache Jelly scripting. However, the common content types (such as service catalog or knowledge base) come in the base system. Content types can be associated with particular sites. This association allows different sites to use different detail pages for the same content type.

    Content types define three features of associated documents.
    • What does a link to one of these documents look like? For example, if a list of these documents is displayed on a page, how does each entry appear?
    • What does a detailed view of one of these documents look like?
    • What detail page is used to display the document? This decision is important and is often an area of confusion for new CMS users.

    The document content type determines the page that a list of documents points to, the list itself does not determine the page. The content from a link is displayed in a detail content block on a page. The content type determines in which detail block on a page the document content is displayed.

    For example, the list block Catalog Top 5 displays the top five items in the Service Catalog table [sc_cat_item]. Because the table is [sc_cat_item], the content type sc_cat_item controls how the Catalog Top 5 list is displayed. Clicking any item in the list displays the Service Catalog Detail page with the item displayed on it according to the detail template script. These content types are applied:
    • in search results to link to the correct page.
    • in the Current Document block to display the current record.
    • in links on lists and other places that link to record types.

    Several content types are available by default for tables such as Catalog Item [sc_cat_item], Gauge [sys_gauge], and Page [content_page].

    Content type defaults that are set for CMS can be overridden for individual sites. Use the Content Types related list on the site record to customize content types.

    Note:
    To learn more about the properties that affect use of content types, see the following topics in Instance Security Hardening Settings: