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.
- Copy the "list_alg.htmpl" file from NX_ROOT\bopcfg\www\htmpl\web\analyst to NX_ROOT\site\mods\www\htmpl\web\analyst
- 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>
- Save the file
- 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.