Authors can create, edit, view, publish and schedule ServiceNow knowledge articles from inside Microsoft Word. The Knowledge Management add-in runs in Word Online and works with documents stored in SharePoint and OneDrive. Contribute access to a knowledge base lets you write and publish; read access lets you view. An administrator must activate and configure the add-in first.
What your access level allows in Word
The same add-in can serve two different people in two different ways. The access you hold on each knowledge base decides which actions appear in the Knowledge Management pane.
| Access on the knowledge base | What you can do in Word |
|---|---|
| Contribute | Open, create, edit, publish and search articles from the Knowledge Management pane |
| Read | View an article, including its number, short description and content |
Articles written in Word are still knowledge articles in your ServiceNow instance. The Word document linked to each one is the working copy, which is the source of the URL and sharing questions covered below.
Setting up the add-in and signing in
Setup has three parts: activation, deployment to Microsoft 365, and a security property. An administrator activates the Knowledge Management – Add-in for Microsoft Word plugin, identified as com.snc.knowledge.ms_word. Deployment needs a user with the admin role, or the sn_outlook_addin.outlook_addin_setup role, who is also an Office 365 administrator. That user downloads the add-in manifest from the ServiceNow Add-Ins for Office area and installs it in Outlook from a file. The sn_km_word.glide.knowman.word.xframe property lists each parent domain where the add-in is embedded, entered as a comma-separated list. If it is missing a domain, the add-in fails to load in the Word document. For the knowledge base side of this, see knowledge base setup and user criteria.
Authors then sign in from Word: sign in to Office 365, open a document, select the Knowledge icon on the Home tab, and choose Log in to ServiceNow. The login page opens in a separate browser tab. After you enter your credentials, that tab closes and the Knowledge Management pane shows its welcome screen. The sign-in requires the agent role, and you may need to authenticate again once your session expires.
Creating an article from a Word document
Start a blank document, select the Knowledge icon, and choose Create Article. The Knowledge form appears in the pane. Complete its fields, then write the body in the Document pane of the same document.
| Field | What it controls |
|---|---|
| Knowledge base | The knowledge base that stores the article. An article is associated with one knowledge base |
| Category | Groups the article inside its knowledge base. Articles without a category appear in the empty category |
| Ownership Group | Shown when the glide.knowman.ownership_group.enabled property is enabled. Its members and manager handle approvals and feedback |
| Workflow | The publishing state. A new article starts in Draft |
| Short description | The title shown in search results and at the top of the article, up to 100 characters |
| Document URL | The address of the Word document in Word Online. It fills in automatically for SharePoint and OneDrive business accounts; other accounts need it entered by hand |
| Valid to | The expiry date. Articles do not appear in search results after this date, or when the field is blank |
| Scheduled publish date | A future date and time for automatic publication |
The Valid to default follows the knowledge base’s Article Validity setting, counted from creation. If that setting is blank, the default is January 1, 2100. On the first day of each month, the platform emails authorised recipients a list of articles expiring the following month, and they can extend the date. A two-digit yy year format in your system date format or user preferences can cause problems with the default, so use a format with a four-digit yyyy year.
Copy the sharing address Word Online generates for the document rather than the browser address, which can fail when pasted. For SharePoint, use the link created for the specific people who need access. For Box, use a Box shared link. Remove unwanted headers and footers first, because they carry into the article as they are. Submit the form when you are done, then publish if the article is ready. For how authoring works in Agent Workspace, see Authoring Knowledge Articles in Agent Workspace.
Publishing, editing and recalling
Publishing depends on the workflow set on the knowledge base. Under Knowledge – Instant Publish, the article is published immediately, unless it has a future scheduled date. Under Knowledge – Approval Publish, it is published when approval completes, again subject to any scheduled date.
To edit an existing article, search for its number or description in the Knowledge Management pane, select its link, and choose Replace or Retain when the add-in asks what to do with content already in the document. Replace overwrites the document with the article’s content. Retain keeps the document content. Saving later makes the document content replace the article content in the instance, so check the document before you save. With versioning enabled, select Checkout on a published article first. Edits apply to the latest version, made either online in Word Online or in the Word desktop app. Desktop edits must be saved back by returning to the online version in your browser. An article built on an article template cannot be edited in Word; it opens on the platform in a new tab.
Read access is enough to view. The pane then shows the article’s details.
To recall an article that is in review, open it from the Knowledge Management pane and select Recall on the Knowledge form. Recall stops the approval process and returns the article to Draft. Authors, knowledge administrators, system administrators and ownership group members can recall it. Recall needs the Knowledge Management Advanced plugin, identified as com.snc.knowledge_advanced, plus article versioning and the Word add-in enabled.
Scheduling a Word article
Scheduling sets a future publication time for a draft that was originally created in Microsoft Word. Confirm that the Knowledge Management Advanced plugin, article versioning and the Word add-in are enabled. Then open the draft, select the calendar icon beside Scheduled publish date, choose a future date, enter a time in hh:mm:ss format, select OK, and select Publish to start the workflow.
With approvals disabled, the article moves to Scheduled for Publish and goes live on the chosen date. With approvals enabled, it moves to Review, then to Scheduled for Publish once approved. If approval arrives after the scheduled date, the article is published immediately. To cancel a scheduled publication, select Recall, which returns the article to Draft.
How version numbers change
A minor revision adds 0.01, and a major revision such as publishing moves to the next whole number, so 2.02 becomes 3.0. Checking out a published article starts a draft one step up, such as 1.01 from 1.0. When a new version is published, the earlier published version changes to Outdated. Any change of state raises the version number, except moves to and from Pending retirement, Retired and Outdated.
Unlinking, downloads and limits
An article created through the add-in is edited from its linked Word document. If that document is deleted or moved, the link breaks. The author can then enter the new location in the Document URL field from inside Word. Alternatively, an administrator with the admin role can unlink the article: go to All > Knowledge > Articles, select an article in the Published or Unpublished category, and select Unlink from Word on the Knowledge form. Unlinking can affect the HTML formatting in the editor, so check a few articles afterwards.
Readers can download the source Word document from the article view page in a portal or workspace when the sn_km_word.glide.knowman.enable_document_download property is set to true. Enabling this property requires the admin role. After you enable the property, the source document might also appear in search results as an attachment to the article, which can affect search relevancy.
Publishing into scoped knowledge bases from the add-in requires a Restricted Caller Access Privileges record for the Microsoft Word add-in, which an administrator creates.
Frequently asked questions
Can someone with read access create an article in Word?
No. Creating, editing and publishing need contribute access to the knowledge base. Read access lets a person view the article and its details in the pane.
Why does the Knowledge Management pane fail to load?
A likely cause is the sn_km_word.glide.knowman.word.xframe property. It must list each parent domain where the add-in is embedded, separated by commas. A missing domain stops the add-in from loading in the Word document. For other failure modes, see troubleshooting ServiceNow knowledge management.
What happens if the source Word document is deleted?
The link breaks and the article can no longer be edited from Word. Enter the new location in the Document URL field, or ask an administrator to unlink the article so it can be edited on the platform.
Why did my version jump from 1.0 to 2.0?
Publishing is a major revision, so the version moves to the next whole number. The earlier published version then changes to Outdated. Editing a published article starts with a checkout, which produces a 1.01 draft.