Académique Documents
Professionnel Documents
Culture Documents
Daniel Barrett
Solution Consultant
ServiceNow
Confidential
Skills
Required skills
ServiceNow administration skills
HTML
CSS
Very useful skills
Graphic Design & Web Design
Jelly Scripting
Confidential
Why use a CMS?
Confidential
2012 ServiceNow All Rights Reserved Confidential 4
2012 ServiceNow All Rights Reserved Confidential 5
CMS Components Content Site
Content Site - a group of related content pages that will have the same basic
theme, layout, and URL suffix.
The content site represents one unified front-end for the instance. Different
audiences can be presented with different sites suited to their needs, based
on Login Rules.
Confidential
CMS Components Content Page
Content Page - Content pages are formed by arranging content blocks in pre-
defined layouts. They can be used to present login pages, search pages, or
ServiceNow content.
Confidential
CMS Components Content Blocks
-Existing content such as reports, gauges, and record lists are automatically
available as content blocks and more can be created within the CMS.
-Once content blocks are defined, they can be reused on any content page by
adding them to drop zones within the layout.
Confidential
CMS Components Block Types
Confidential
Example CMS Page Construction
Confidential
ServiceNow ESS Page Construction
HEADER BLOCK
NAVIGATION BLOCK
LIST BLOCK
iFRAME BLOCK
URL:
com.glideapp.servicecatalog_cat_item_view.do?sysparm_id=3f1dd0320a0a
LIST BLOCK 0b99000a53f7604a2ef9
LIST BLOCK
Confidential
CMS Components Themes & CSS
Theme Group of CSS (Cascading Style Sheets) or link to external style
sheets
- Enables you to change the appearance of all the pages in a Web site, just by
editing one single file!
Confidential
CMS Components ID Selector
#para1{text-align:center;color:red;}
Confidential
CMS Components CLASS Selector
.center {text-align:center;}
Confidential
CMS Components SPECIFIC CLASS
You can also specify that only specific HTML elements should be affected by a class.
p.center {text-align:center;}
Confidential
CSS Demo
Confidential
Content Types
Content Types are required so that the CMS knows how to handle
each table / document type in the system (such as Incident or
Problem).
Content Types are defined for each table / document Type that you
will use in your CMS
They determine how list block content is rendered
They determine what happens when a list record is selected
Confidential
Page Detail Settings
Confidential
Layouts
Layouts' defines the overall structure of the page by arranging where on the page
dropzones appear.
The dropzone is where Content Blocks (which make up the content of the page)
can be added.
Most Content Blocks match the width of the dropzone, so the dropzone controls
both the location and sizing of the Content Block.
Confidential
<div class="layout_container>
<div id="${jvar_name}" class="site_layout">
<div class="content_header_container" id="dropzone0" dropzone="true" />
<div class="content_body_container_2_column">
<div id="dropzone20" dropzone="true" />
<div id="dropzone10" dropzone="true" />
<div style="clear:both;" />
</div>
<div class="content_footer_container" id="dropzone100" dropzone="true" />
</div>
</div>
layout_container
site_layout
dropzone0
content_body_container_2_column
dropzone10 dropzone20
dropzone100
Confidential
.layout_container { .site_layout{ layout_container
margin: 0px; width: 80%; site_layout
padding: 0px; min-width: 960px;
dropzone0
position: relative; margin-top: 0px;
background: #f4f4f4 margin-left: auto; content_body_container_2_column
url(header-tile- margin-right: auto; dropzone10 dropzone20
admin.pngx) repeat-x padding-bottom:
scroll; 5px; dropzone100
} }
dropzone10 dropzone20
DIV.content_body_container_1_column, DIV.content_body_container_2_column{
position: relative;
padding:0px;
}
Confidential
DROPZONE0
DROPZONE1
DROPZONE2
DROPZONE3
<div class="layout_container>
<div id="${jvar_name}" class="site_layout">
<div class="content_header_container" id="dropzone0" dropzone="true" />
<div class="content_header_container" id="dropzone1" dropzone="true" />
<div class="content_header_container" id="dropzone2" dropzone="true" />
<div class="content_footer_container" id="dropzone3" dropzone="true" />
</div>
</div>
Confidential
DROPZONE0
DROPZONE1
DROPZONE2
DROPZONE3
<div class="layout_container>
<div id="${jvar_name}" class="site_layout">
<div class="content_header_container" id="dropzone0" dropzone="true" />
<div class="content_body> <!set the width -->
<div id="dropzone1" dropzone="true" />
<div class="content_body_2_column>
<div id="dropzone2" dropzone="true" />
<div id="dropzone3" dropzone="true" />
</div>
</div>
</div>
</div>
Confidential
Creating a new CMS page
Confidential