CA Service Management

Expand all | Collapse all

Modify # of offerings in web page

Jump to Best Answer
  • 1.  Modify # of offerings in web page

    Posted 06-08-2017 05:31 AM

    Hi all,

     

    I set "Request View" in Catalog -> Config -> Request Management Config Options -> Browse Catalog Layout  (see attach1.jpg): now, browsing Service Catalog, 6 offerings for page are visualized (see attach2.jpg).

     

    Is it possible to customize the number of offerings visualized for page? I'd like to visualize 8 or 10 offerings for page..

     

    Best regards,

    S.



  • 2.  Re: Modify # of offerings in web page

    Posted 06-08-2017 06:50 AM

    Good Afternoon Salvatore.
     
    The attach2.jpg shows the result of 'Service View' in stead of 'Request View' as you mentioned.
    Can you verify and confirm this?
     
    Thanks and kind regards, Louis van Amelsfort.



  • 3.  Re: Modify # of offerings in web page
    Best Answer

    Posted 06-08-2017 07:14 AM

    Good Afternoon Salvatore.

     

    After further researching for this, I found the following information:
    - There is no possibility to use more than 6 tiles on the requests/Service View >> True
    - There is no possibility to use smaller tiles on the requests/Service View >> True
    - There is no possibility to use the former 'row' style >> True
    We cannot reduce the tile size of carousel. The tile size is fixed 200px.

     

    For now, the only possible action is to add an Idea in the Community.
    To see whether it is possible to get this available in a future release of the product.

     

    Thanks and kind regards, Louis.



  • 4.  Re: Modify # of offerings in web page

    Posted 06-09-2017 02:23 AM

    Although the number of offerings per page is hardcoded, you can customize the .xsl form that displays the offerings and increase it. Here is a sample custom page - cataloggetchildren.xsl - that increases the number to 8 instead of 6.

    It's based on the 14.1 CP3 .xsl form page, look for the lines between BEGIN CUSTOM and END CUSTOM to see what was modified.

    To make it work, copy this file to $USM_HOME/filestore/custom/explorer/request and then clear the translets folder by deleting everything under the USM_HOME\view\translets folder (Modify XSL, XML, JavaScript, and Image Files - CA Service Management - 14.1 - CA Technologies Documentation ).

    Attachment(s)



  • 5.  Re: Modify # of offerings in web page

    Posted 06-09-2017 04:14 AM

    Hi Cristi,

     

    thank you for your answer.

     

    Your suggestion works out partially: now there is the space for 8 offering, but only 6 are visualized (see attach3.jpg).

     

    Where am I wrong?

    S.

     



  • 6.  Re: Modify # of offerings in web page

    Posted 06-09-2017 04:23 AM

    I think I forgot to attach an additional customized .xsl - I added the catalogbrowse.xsl to my previous post - add it to the customisation folder, just like the previous files, clear out the translets cache and see if it works.



  • 7.  Re: Modify # of offerings in web page

    Posted 06-09-2017 06:35 AM

    Hi Cristi,

     

    thank you for your answer.

     

    I tried modifying catalogbrowse.xsl file, but there is still not difference with my previous screenshot.

     

    I suspect that the variable "layout" is not referred to number of services visualized, but to the type of layout tu use:

     

    LAYOUT INFORMATION:
      1 = regular, search is always in row
      2 = regular but hide the request info section, featured is expanded then 
      3 = browse is grid
      4 = browse is grid and hide the request info
      5 = layout 4 but the search is always in a box, not row
      6 = hide request info. featured is in a grid, search is in a box
      7 = regular but search is in a box no matter who is logged in
      8 = coral grid layout with browse section
      9 = coral grid layout w/o browse section

     

    Best regards,

    S.



  • 8.  Re: Modify # of offerings in web page

    Posted 06-09-2017 07:05 AM

    Yes, layout8 is one of the files included in SC by default and it's not a reference to the 8 services per page which we're trying to get. Let me check again on my custom files to see which ones should be present.



  • 9.  Re: Modify # of offerings in web page

    Posted 06-09-2017 07:30 AM

    OK, so I re-checked the files, but the cataloggetchildren.xsl seems the only one modified. It might be that my customization is not enough. What you can do:

    Check in catalogbrowse.xsl for the

    <xsl:variable name="noOfFeaturedServicesPerPage" select="number('6')" /> 

    statement and increase the number. Clear the translets folder again and check if it works.



  • 10.  Re: Modify # of offerings in web page

    Posted 06-09-2017 08:25 AM

    I tried to set manually the parameter noOfFeaturedServicesPerPage to '8', but it doesn't work out..

     

    So I will wait for 17.0, as Iain Lambert said

     

    Thank you!

    S.



  • 11.  Re: Modify # of offerings in web page

    Posted 06-09-2017 08:35 AM

    Too bad it doesn't work. 17.0 is already out, if you want to give it a spin - it was released recently.



  • 12.  Re: Modify # of offerings in web page

    Posted 06-09-2017 05:58 AM

    In addition to this customization, it's worth noting that in 17.0 the full-width Theme gives more columns of offerings out of the box.