How to hide "Updated By " column name from request history page
search cancel

How to hide "Updated By " column name from request history page

book

Article ID: 278707

calendar_today

Updated On: 03-31-2024

Products

CA Service Management - Service Desk Manager CA Service Catalog

Issue/Introduction

Need to hide "Update By" field in the request history page as highlighted below:

Environment

USVCT 17.4

Resolution

The requirement can be achieved via customization as there is no configuration to control the columns in status history.

1. Copy the "USM_HOME/view/webapps/usm/explorer/request/requeststatushistory.xsl" file into "USM_HOME/filestore/custom/explorer/request/" (Create "request" folder if not already present).


2. Edit the copied file and comment out the updated by column header and data columns in requeststatushistory.xsl as below

line 121 and 122

<!-- <th class="blue" nowrap="true" style="behavior:url(explorer/scripts/icansort.htc)" title="{$xslcontent/sort_by} {$xslcontent/updated_by}"  ascimg="{$sortbrandpath}images/asc.gif" dscimg="{$sortbrandpath}images/dsc.gif" sortfunction="innerTextInsensitiveCompare" alternatingstyle="alternateA,alternateB">
        <xsl:value-of select="$xslcontent/updated_by" /></th> -->

and

line num ~214 to 229

<!-- <td>
<xsl:if test="string-length(modified_by/LITERAL)>0">
<xsl:choose>
<xsl:when test="contains(string(modified_by/LITERAL),concat('CERT-',/xmlRoot/icsysteminstall/iceemapp))">
<xsl:value-of select="$xslcontent/certificate_user" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="user_cn/LITERAL"/>
<xsl:choose>
<xsl:when test="string-length(user_cn/LITERAL)>0">(<xsl:value-of select="modified_by/LITERAL" />)</xsl:when>
<xsl:otherwise><xsl:value-of select="modified_by/LITERAL" /></xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
</td> -->

3. Delete translets from "USM_HOME/view/translets/" folder

4. Restart "CA Service Catalog" services.