Publish to ServiceNow Knowledge Base

Learn how to publish your content directly to ServiceNow Knowledge Base.

With ServiceNow integration, Adobe RoboHelp has extended its publishing capabilities to publish to Knowledge Base output, directly to ServiceNow Knowledge Base as KBs.


Before you begin to start creating knowledge bases and knowledge articles, you must set up ServiceNow Knowledge Management. For more guided set-up, follow the below steps:

  • Step-by-step instructions to configure ServiceNow Knowledge Management in your instance. For more details, see Using guided setup.
  • Create, Publish rights for ServiceNow articles (kb_knowledge table CRUD Operation rights). For more details, see Create a knowledge article.
  • To use keywords as tags, additional permissions to create and write label_entry.table and lable_entry.table_key. For more details, see Administering tags.

Set up the workflow

Following are the steps to configure ServiceNow Knowledge Base prior to publishing your output.

Create an output preset

To create an output preset in RoboHelp, do the following:

  1. In an open project, do one of the following:

    • Click the Output tab at the left side of the Standard toolbar.
    • Click Quick Generate  in the upper-right corner of the Standard toolbar and click the Edit Settings icon .

    The Output view opens.

  2. In the Output toolbar, click Output Presets. The Output Presets panel opens.

  3. In the Output Presets panel, click .

  4. In the New Preset dialog box, specify the following:

    Type Use the drop-down list to select Content Only preset type. 

    Name Specify a name for the output preset.

    Target From the target drop-down, choose ServiceNow Knowledge Base.

  5. Click Done.

    You can access the output preset from the Output Presets panel in the Output toolbar. Alternatively, you can access the output preset in the Quick Generate dialog box of the authoring window.

Configure a ServiceNow Knowledge Base output preset

You can use the following settings to configure the Content Only output preset:


Use the following options to specify basic output settings, such as title, target, output path, encoding, and more:

Title Specify the title for the generated output.

You can use variables in the title. To do so, type Ctrl+1 and select a variable from the drop-down list, and then press Enter. Note that if you have provided a variable set in the Content tab > Variable Set field, during output generation, the value of the selected variable is picked from the variable set.

Target Use the drop-down to select ServiceNow Knowledge Base to generate the chosen output in Content Only.

Output Path Specify a location for the output. To select a location, click  . 

Ensure that the output path is NOT located inside the project folder. If the output path is inside the project folder, the output generation fails. Also the folder you select should NOT have any content that you need. RoboHelp deletes the contents of the folder before generating the output.

Save output path as relative to project: If enabled and you browse to the output path., the path to the output will now be a relative instead of absolute. 

Encoding Use the drop-down list to specify the type of character encoding format to be used for your content.

Post Generation Script To run your custom script after output generation, select the script .js file from the drop-down list.


Use the following options to specify content-related output settings, such as the settings for Table of Contents, condition expression, and variable set.

Table Of Contents Use the drop-down list to select a Table of Contents to be included in the output. This drop-down list displays the Tables of Contents available in your project. The first Table of Contents in this drop-down list is selected by default.

The set of files and their references present in the selected Table of Contents appear in the generated output.

Condition Expression Use the drop-down list to specify the condition expression for your output. This setting allows you to easily include or exclude content depending on the desired type of output or user base. Click  to edit the selected condition expression. You can also select None in the drop-down list to not specify any condition expression.

Variable Set Use the drop-down list to specify the variable set to use in this output. In the drop-down list, you can select <Default Variable Set> to use the project's default variable set. Variable sets allow you to implement output-specific use of variables. For example, you can have different variable sets for generating output for customers and internal users.

Include Expanding Text  This option is not valid for publishing to ServiceNow Knowledge Base. 

Include Drop-down Text This option is not valid for publishing to ServiceNow Knowledge Base. 


It is important to note that ServiceNow does not permit adding JavaScript or Cascading Style Sheets (CSS) within the articles, so your publication must not use Drop-down text, Expanding text, or Thumbnail images. However if used, the text that is enclosed is preserved as plain text.


Use the following option to configure the appearance of your output.

Master Page Use the drop-down list to select the master page for the output. If the master page is selected, the style definitions are determined by the CSS (Cascading Style Sheets) of the master page. If set to None, then the CSS styles are taken from CSS files used in the topics.


Use the following options to specify ServiceNow publish settings, such as Publish Profile, RecordType, Categories, and more:

Publish Profile Use the drop-down to select among your ServiceNow connection profile. To learn how to create a publish profile, see Configure a publish profile.

Knowledge Base Use this field to select the required ServiceNow Knowledge Base.

The user can configure Knowledge Bases in the ServiceNow site to store the content based on the permissions. All the articles published from this project can be published to these Knowledge Bases. 

Publish all articles in the same category Select this option to publish all the topics of the TOC to a single category and section on ServiceNow site. 

Convert all styles to inline styles Select this option to ensure that your styling used in RoboHelp is maintained when you publish your output to ServiceNow Knowledge Base.

Use search keywords from topic as article tags Use tags to filter and view tagged articles. Select this option to tag your articles with search keywords. 

ServiceNow uses article tags using your keywords. Tags can be visible to any user (global), visible only to specific groups or users (shared), or visible to a single user (private).

For example, an article about setting up the translation in multiple languages might get the following system tags applied: translation, multiple, languages, etc. When searching or browsing for an article, users may click a tag to finesse their search results.

Upload as draft Select this option to upload the topic to share it as a draft before making it available to the users.

Upload images Select this option if you want any images in topics to be included in the published output.

Upload linked documents  Select this option if you want documents like PPT, PPTX, DOC, DOCX, and PDF linked in topics to be included in the published output. 

Configure a publish profile

You must create and configure a publish profile before publishing your output to ServiceNow Knowledge Base. To create and configure a profile:

  1. Choose Edit > Publish Profiles.

    The Publish Settings dialog box opens. 

  2. Click  to create a profile.

  3. In the Server Type field, select ServiceNow Knowledge Base.

  4. For the ServiceNow Knowledge Base server type, do the following:

    • Name Shows the default profile name. Modify the name if required.
    • Site URL Add a site name to complete the site URL. 
                   For example:
  5. Click Save.

    RoboHelp saves the profile and displays the profile name under the Profiles column. To edit a profile, click the profile name and edit its fields. To delete a profile, click  against it.

Configure the TOC structure for ServiceNow Knowledge Base

The last step prior to publishing is to check that your TOC is organized to publish your content into categories and sections, keeping the following guidelines in mind:

  • The top-level of the TOC is converted to categories and second-level to sections; therefore, it is recommended to create a two-level TOC.
  • Published articles that do not fall in this structure are rearranged into categories and sections.
Two-level TOC
An illustration of how the two-level TOC looks

Publish to ServiceNow Knowledge Base

You can configure Content Only output preset to link to ServiceNow, and then publish your content to ServiceNow Knowledge Base. 

  1. Click the Output tab in the standard toolbar. Output Presets is the default selection in the Output toolbar. 

  2. In the Output Presets panel, double-click an output preset to edit it. 

  3. In the Output Preset editor, click the Publish tab to view the profile selected in ServiceNow tab configuration.

    You can also edit server information in the Publish Profiles dialog box, which you can launch by clicking 

  4. Select the profiles (servers) to which you want to publish content.

  5. Click the Generate Preset icon  in the Output Presets panel. 

    You can then view a progress bar next to the selected output preset in the Output Presets panel. Once the output generation is complete, a Success dialog box is visible at the lower-right corner of the screen. 

    After the output generation is complete, click  in the Output Presets panel to view the output.

  6. To publish to the selected profiles (servers), click the output preset, and then click  in the standard toolbar. Or, right-click the output preset and click Publish.

  7. RoboHelp pushes the content to ServiceNow. To view the published output, click the  icon to take you to the landing page of the ServiceNow Knowledge Base, where you can browse to your article.

  8. To view the published output, click the  icon to take you to the landing page of the ServiceNow Knowledge Base, where you can browse to your article.

شعار Adobe

تسجيل الدخول إلى حسابك