How to change the Offering Name Length in Service-Tile and Catalog Browser

book

Article ID: 38191

calendar_today

Updated On:

Products

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

Issue/Introduction

Introduction: 

How to enlarge the name of a service in the service tile?

And/or in the Catalog Browse section?

Background:  

Many offerings and offering's names are too long.

We don't see the full name when we choose such an offering.

Environment:  

Service Catalog r14.1 on Windows.

Instructions: 

How to customize the width of the 'browse' section of the Catalog to be able to show more length of the name of the service?

 

1a. From folder C:\Program Files\CA\Service Catalog\view\webapps\usm\explorer\request

copy file Catalogbrowse.xsl

copy file Cataloggetchildren.xsl

copy file catalogsubbrowse.xsl

into folder: C:\Program Files\CA\Service Catalog\filestore\custom\explorer\request

(when this full folder-path does not exist, create (sub)folders accordingly).

 

1b. From C:\Program Files\CA\Service Catalog\filestore\custom\explorer\request

Open file Catalogbrowse.xsl

 

1c. Goto Line 1927

1d. Change From:

<xsl:with-param name="shortenLength" select="number(30)"/>

To (e.g.):

<xsl:with-param name="shortenLength" select="number(40)"/>

and save the file.

 

2a. Open file Cataloggetchildren.xsl

2b. Goto Line 781

2c. Change From:

<xsl:value-of select="util:ellipsis(folder_name/LITERAL,28)" />

To:

<xsl:value-of select="util:ellipsis(folder_name/LITERAL,40)" />

and save the file

 

3a. Open file catalogsubbrowse.xsl

In C:\Program Files\CA\Service Catalog\view\webapps\usm\explorer\request

3b. Goto Line 329

3c. Change From:

<xsl:value-of select="util:ellipsis(offering_name/LITERAL,35)" />

To:

<xsl:value-of select="util:ellipsis(offering_name/LITERAL,40)" />

and save the file

 

After you made the above changes, please go through the below steps to ‘activate’ these.

1. stop the 'Service Catalog' service

2. clear the browser cache

3. clear %usm_home%\view\translets folder

4. start the 'Service Catalog' service

 

Additional Information:

This kind of customization is outside of ‘patch-support’ which means that after applying patch(es), the above procedure, including the copy of the files, need to be executed again.

In the above example, the changed width is set to 40 characters.

This value can only be set as high as the physical screen width can handle. 

Environment

Release: CASVCT99000-14.1-Service Catalog
Component: