How do you remove the copy button from requests in CA Service Catalog

book

Article ID: 125351

calendar_today

Updated On:

Products

CA Service Catalog

Issue/Introduction

IMPORTANT NOTE: Please check the below document, before you start customizing your Service Catalog environment.


https://ca-broadcom.wolkenservicedesk.com/external/article?articleId=125335

Environment

Service Catalog

All supported Operating Systems

Resolution

1. Copy the requestprofile.xsl file from 

CA\Service Catalog\view\webapps\usm\explorer\request to

CA\Service Catalog\filestore\custom\explorer\request (create any folder in this path should it not exist already).


2.  Edit the copy of the file and search for 'cloneclick()'.  Comment-out the 'button' lines.


<!--
  <xsl:if test="not($mode) and not($fmode) and ($canAdd) and string-length(/xmlRoot/icguinode/icguinodeinfo[21])>0">
    <td class="pagesection">
      <xsl:call-template name="page_button">
        <xsl:with-param name="id" select="'clone'" />
        <xsl:with-param name="text" select="$xslcontent/clone" />
        <xsl:with-param name="titletext" select="$xslcontent/clone_tooltip" />
        <xsl:with-param name="onclick">cloneclick()</xsl:with-param>
      </xsl:call-template>
    </td>
  </xsl:if> 
-->

3. Save the file.
4. Stop the Service Catalog services (Accounting and Catalog).
5. Empty/clear the %USM_HOME%\view\translets folder.
6.  Clear the %USM_HOME%\logs\*.log files.
7. Clear the web browser cache.
8. Start the Service Catalog services (Accounting and Catalog).