AnsweredAssumed Answered

Restricting Email button in Catalog Request page

Question asked by chitraj on Jul 15, 2015
Latest reply on Jul 15, 2015 by chitraj



We would like to restrict the 'Email' button on the catalog request page to be visible only to 'Service Delivery Administrators'. Normal 'Catalog Users' and 'Request Managers' should be shown this button. Please could you suggest what can be done to get this done.


We have some information like, if we are commenting the below section in 'requestprofile.xsl' we can make this button hidden for everyone,


<xsl:if test="not(COLLECTION/info/result/LITERAL='0') and string-length(/xmlRoot/icguinode/icguinodeinfo[22])>0">

    <td class="pagesection">

<xsl:call-template name="page_button">

<xsl:with-param name="id" select="'emailbtn'" />

<xsl:with-param name="text" select="$xslcontent/email" />

<xsl:with-param name="onclick">window.location.href = "<xsl:value-of select="concat(icservletname,'?Node=icguinode.',icguinode/icguinodeinfo[22],'&amp;Args=',COLLECTION/usm_request/request_id/LITERAL,'&amp;gnode=',/xmlRoot/icguinode/icguinodeinfo[11],'&amp;gtype=1&amp;KEEP_id=',COLLECTION/usm_request/request_id/LITERAL)"/>"</xsl:with-param>






Please could anyone suggest us, by adding which additional condition to this if condition instead of commenting we can make this button visible to admins.

Thanks in advance!!!!


Thanks & Regards,

Rajasheker Chittanur