CA Service Management

  • 1.  Offer Title Size

    Posted Mar 20, 2018 01:19 PM

    Guys, I have a question!

    Many offers on my customer Catalog have a rather large title and consequently are not displayed completely on the USS.

    Is there any configuration I can do to make these titles fully displayed?

    I searched some CSS classes but did not find anything yet that might be related to the minimum character size of the offer title.

    Many thanks!!



  • 2.  Re: Offer Title Size
    Best Answer

    Broadcom Employee
    Posted Mar 21, 2018 03:55 AM

    Good Morning Diego.

    Below is a possibilty to customize the description field length in USS portal.
    With my apology upfront, the line numbers me be different.

    ...usm\explorer\scripts\browse.widget.js
    Copy from:
    C:\Program Files\CA\Service Catalog\view\webapps\usm\explorer\scripts
    Into and edit from here:
    C:\Program Files\CA\Service Catalog\filestore\custom\explorer\scripts

    file name : browse.widget.js
    function name : truncateOfferingDescription: function() {
    truncateOfferingDescription: function() {
    if (this.offering_description.length > 32) {
    return this.offering_description.substring(0, 32) + "..."
    } else {
    return this.offering_description
    }
    },

    Change:
    return this.offering_description.substring(0, 32) + "..."
    into:
    return this.offering_description.substring(0, 42) + "..."

    Or another value of your choice.

    Similar for: truncateOfferingName
    C:\Program Files\CA\Service Catalog\filestore\custom\explorer\scripts
    Lines 507-512:
    "truncateOfferingName" : function(){
    if(this.offering_name.length > 22)
    return this.offering_name.substring(0, 22)+'...';
    CHANGE>> return this.offering_name.substring(0, 45)+'...';
    else
    return this.offering_name;
    }

    - Stop SC-service
    - Delete translets
    - Clear browser cache
    - Start SC-service
    - Restart USS-service

    Thanks and kind regards, Louis van Amelsfort.



  • 3.  Re: Offer Title Size

    Posted Mar 21, 2018 12:19 PM

    Hi Louis_van_Amelsfort!

     

    Thanks for your help!

     

    I have made the modifications to the files as you suggested, however, the title of the offers displayed on the USS are still not being presented in their entirety. Is there any other configuration I need to do on USS to display this information completely?



  • 4.  Re: Offer Title Size

    Posted Mar 21, 2018 01:40 PM



  • 5.  Re: Offer Title Size

    Broadcom Employee
    Posted Mar 22, 2018 03:15 AM

    Good Morning Diego.

     

    That was all of the information I had on this subject.

     

    Kind regards, Louis.