How do I add additional fields to be exported from CA Service Desk Manager search results?

Document ID : KB000019337
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

This document describes how to add addition fields for exporting from Service Desk search results. In the example below, the description field will be added to the list_alg.htmpl file so it can be included in the fields exported to an .xls file when clicking the Export button.

Solution:

The following example includes the description field on the Incident Activity tab so it can be exported to an .xls file.

  1. Copy the "list_alg.htmpl" file from NX_ROOT\bopcfg\www\htmpl\web\analyst to NX_ROOT\site\mods\www\htmpl\web\analyst

  2. Open the copied file that is in the new location with a text editor and make the following change:
    <PDM_MACRO NAME=lsCol attr=description startrow=yes sort="no" export=no colspan=4 justify=line escape="JS2" fmtfunc=UnEscapeDesc>

    TO

    <PDM_MACRO NAME=lsCol attr=description startrow=yes sort="no" export=yes colspan=4 justify=line escape="JS2" fmtfunc=UnEscapeDesc>

  3. Save the file

  4. Run the following command on the Service Desk server and clear your browser cache.

    pdm_webcache - H

    Now open a request and select the Logs/Activities tab and then click Export to verify it includes the description field.