5.8 Exporting a Template File

Out-of-the-box ServiceNow customized template files are included in the Self Update archive that was installed in Installing the ServiceNow Ticketing Connector.

To extract a template file to use as a base for customization:

  1. Export the installation files to a managed host machine or to your workstation:

  2. Open a command window on the host where the export file was copied and navigate to the directory where the file was copied.

  3. Extract the ServiceNow template file from the .zip file using the following command:

    unzip *.zip archives/service_now_connector.jar
    
  4. Extract the templates from the jar file using the following command:

    $JAVA_HOME/bin/jar xf archives/*.jar templates
    

5.8.1 Exporting Installation Files to a Managed Host

To export to a managed host machine, perform the following steps::
  1. From the Setup menu, select Extensibility, then select Self Update.
  2. On the Self Update page, select Management Connector to display a list of all available connectors.
  3. Click the appropriate ServiceNow connector name, then select Export to->Managed Host from the Actions list. A pop-up window similar to Figure 5-1 will be displayed:

    Figure 5-1 Export Update to a Managed Host


    Export Update to a Managed Host
  4. Enter the name of the export file or accept the default name.
  5. Click on the search icon for the Host field. A pop-up window similar to Figure 5-2 is displayed.

    Figure 5-2 Search Hosts


    Search Hosts
  6. Select a host and click Select. You might need to enter a search string to narrow the results.
  7. On the Export Update to a Managed Host window, click the search icon for the Location field. A pop-up similar to Figure 5-3 is displayed:

    Figure 5-3 Search Location


    Search Location
  8. Click Log In. A popup similar to Figure 5-4 is displayed:

    Figure 5-4 Host Credentials


    Host Credentials

    Select existing Preferred or Named credentials or enter a New set of named credentials and click OK.

  9. A pop-up window similar to Figure 5-5 is displayed:

    Figure 5-5 Select Path


    Select Path
  10. Select the path where you want to place the export file and click OK.
  11. The Export Update to a Managed Host window will be displayed with the selections listed. Click Export.

5.8.2 Exporting Installation Files to Your Workstation

To export the installation files to your workstation, perform the following steps:
  1. From the Setup menu, select Extensibility, then select Self Update.
  2. On the Self Update page, select Management Connector and select the appropriate ServiceNow connector name from the list, then select Export to->Your Workstation from the Actions list.
  3. A pop-up window will be displayed that prompts whether to open or save the file. Select Save File and click OK.
  4. A pop-up window may be displayed that allows you to select the location where the file will be saved. Select the location and click Save.