Modify the link for "Browse Catalog Services"
search cancel

Modify the link for "Browse Catalog Services"

book

Article ID: 377054

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager CA Service Catalog CA Service Desk Manager

Issue/Introduction

As an SDM employee, the "Browse Catalog Services" link must point to a specific Service Offering rather than the Service Catalog homepage.

Environment

SDM 17.4

Service Catalog 17.4

Resolution

1. Using WSP, modify the home.htmpl from the employee profile folder.

In the home.htmpl there is a function named get_url_for_catalog.

By default, this is the value:

function get_url_for_catalog()
        {
            var url="$env.NX_CATALOG_SERVER/usm";
            <PDM_IF "$env.NX_USE_EIAM_AUTHENTICATION" == "Yes" && "$env.NX_EIAM_HOSTNAME" != "">
                fetch_artifact();
                if(artifact != ""){
                    artifact=nx_escape(artifact);
                    url += "&username=$cst.userid&eiamArtifact=" + artifact;
                }
            </PDM_IF>
            popupWithURL(url,1,1);
        }
        

Change the var URL to the offering, it should point directly to the offering.

Example:

var url="$env.NX_CATALOG_SERVER/usm/wpf?Node=icguinode.catalogitemdetails&Args=10021&ObjectID=10021&NspPath=";

2. Remove cache from browser

3. Remove cache from SDM by running: pdm_webcache -H