Change 'No Offerings' to display an image
search cancel

Change 'No Offerings' to display an image

book

Article ID: 10934

calendar_today

Updated On:

Products

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

Issue/Introduction

Is that possible to insert an image in the "no offerings" area under a catalog folder which has no any offering under it yet  ?

When going to Home -> Requests ->  Click a catalog folder ,  if there is no any offering under that  folder ,  It will display "no offerings" by design .  For example ,  see the screenshot below :

Some customers would like to insert an image in the "No offerings" area above .  Is that possible to achieve it ?

Environment

Service Catalog 12.9, 14.1 and 17.0

Resolution

It can be achieved  by customizing catalogsubbrowse.XSL file under USM_HOME\view\webapps\usm\explorer\request\ folder   by following the catalog's customization framework :USM_HOME\view\webapps\usm\explorer\request\

1.  first,   put the image file  (that you want to  place in "no offerings" area)   under USM_HOME\filestore\images\ folder .   

2.  go to USM_HOME\view\webapps\usm\explorer\request\  ,  copy catalogsubbrowse.xsl  and paste it into USM_HOME\filestore\custom\explorer\request\ folder 

3.  modify catalogsubbrowse.xsl file under USM_HOME\filestore\custom\explorer\request\  :

    1)  find the following line 

               <xsl:value-of select="$xslcontent/no_offerings" />

     add the following line under the line above to insert the image  :

              <img src="FileStore/images/my_image_file_name.gif" alt="{$xslcontent/previous}"/>

     Note :  use the image file name that you placed at USM_HOME\filestore\images\ folder in step 1 to replace my_image_file_name.gif above

   for example :

    2) save the change 

4.  stop catalog service

5.  go to USM_HOME\view\translets\ folder ,  delete all the files there 

6.  start catalog service to have the change take effect .