Modifying reportsgenericgetvariabls.xsl file does not have effect on values in data variable

book

Article ID: 127897

calendar_today

Updated On:

Products

CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction



I am following the directions here: https://docops.ca.com/ca-service-management/14-1/en/building/building-ca-service-catalog/modify-xsl-xml-javascript-and-image-files/increase-the-number-of-values-for-a-drop-down-variable When I follow that, it does not seem to have an impact on bringing back the results. I am still limited to 1000. 

Environment

Release:
Component: USVCT

Resolution

  1. Besides reportsgenericgetvariabls.xsl  mentioned in the document ,   we have to modify another file   reportsvariablewithresults.xsl as well
  2. Please copy the  reportsvariablewithresults.xsl from default location ( USM_HOME\view\webapps\usm\explorer\reports\) to the filestore\custom\explorer\reports\ and
  3. Change the following
form style="display:none" method="post" action="{icservletname}" id="loadVariablesForm" name="loadVariablesForm"> 
<input type="hidden" name="Node" value="{concat('icguinode.',util:getNodeWithHandle('reportsgenericgetvariablesfromdo',icuser/securityhandle))}" /> 
<input type="hidden" name="strChartSettings" value="SHOWCHART:No" /> 
<input type="hidden" name="strInput" value="" /> 
<input type="hidden" name="strConstraints" value="" /> 
<input type="hidden" name="Args" value="" /> 
<input type="hidden" name="Args" value="" /> 
<input type="hidden" name="Args" value="" /> 
<input type="hidden" name="Args" value="" /> 
<input type="hidden" name="Args" value="1000" /> <!-- -1 --> 
<input type="hidden" name="Args" value="1" /> 
<input type="hidden" name="Args" value="" /> 
<input type="hidden" name="Args" value="" /> 
<input type="hidden" name="Args" value="" /> 
</form>   
                                                                                                                                                                                                     
to       
                                                                                                                                                                                                   
<form style="display:none" method="post" action="{icservletname}" id="loadVariablesForm" name="loadVariablesForm"> 
<input type="hidden" name="Node" value="{concat('icguinode.',util:getNodeWithHandle('reportsgenericgetvariablesfromdo',icuser/securityhandle))}" /> 
<input type="hidden" name="strChartSettings" value="SHOWCHART:No" /> 
<input type="hidden" name="strInput" value="" /> 
<input type="hidden" name="strConstraints" value="" /> 
<input type="hidden" name="Args" value="" /> 
<input type="hidden" name="Args" value="" /> 
<input type="hidden" name="Args" value="" /> 
<input type="hidden" name="Args" value="" /> 
<input type="hidden" name="Args" value="3000" /> <!-- -1 --> 
<input type="hidden" name="Args" value="1" /> 
<input type="hidden" name="Args" value="" /> 
<input type="hidden" name="Args" value="" /> 
<input type="hidden" name="Args" value="" /> 
</form> 
4. Save the file.
5. Stop the Service Catalog Service
6. Empty the translets folder
7. Empty the Browser Cache
8. Start the Service Catalog Service
9. Test

**Important **  
===========

In order to have it take effect , you will need to customize the following two files :

reportsgenericgetvariabls.xsl 
reportsvariablewithresults.xsl

to change the default value  from  1000 to  4000    ( or any value that you want )