Changing brand logos on xFlow
search cancel

Changing brand logos on xFlow

book

Article ID: 282524

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager CA Service Desk Manager

Issue/Introduction

There are existing instructions that describe how to change the branding without using the pdm_branding utility (mainly used for tenants).  This article clarifies the particular instructions needed to modify the associated casm.conf.js file

Environment

Release 17.3 or higher
CA Service Desk Manager

Resolution

  1. Navigate to the default location, C:\Program Files\CA\xFlow\APPS\Services\incidentmicroservice-17.0.479\public\assets\images\logos and add the new logo file.

  2. Navigate to the default location, C:\Program Files\CA\xFlow\APPS\Services\incidentmicroservice-17.0.479\public\conf and open the casm.conf.js file in a text editor.

  3. Add the following new key:value, after the locale key. 

    To illustrate the syntax that should be in place, please see the following sample content (entries of interest highlighted)
    /*

     Application level global parameters. Admin is allowed to update this file. For syntax reference refer casm.conf.do-notchange.js
    NOTE: Don't keep any sensitive information.
    */

    var casm_admin = {
      config: {
          api : {
              server : 'http://EXAMPLE-SDM-SERVER:9002' + '/api'

          },

            bui : {
              server : 'http://EXAMPLE-SDM-SERVER:9002' + '/bui'

          },
          search : {
              server : 'http://EXAMPLE-SDM-SERVER:9006'
          },
          sdm : {
              server : 'http://EXAMPLE-SDM-SERVER/CAisd/pdmweb.exe' // - example:http://sdmurl:8080/CAisd/pdmweb.exe
          },
          websocket : {
              server : 'ws://EXAMPLE-SDM-SERVER:9008'
          },
          collaboration:{
              server:'ws://EXAMPLE-SDM-SERVER:9014'
          },
          insights : {
              server : 'http://EXAMPLE-SDM-SERVER:9016'
          },
            logo:'assets/images/logos/CA-SM_logo-white-mod.svg',
            bui_branding : {
              builogo : 'assets/images/logos/CA-logo-mod.svg',
            },
          locale:'en-US'
      }
    };

Additional Information

Any changes to the casm.conf.js file will require recycle of xFlow services and clearing your browser cache. 

RU updates may also overwrite this file and so we advise a backup of this file be maintained in the event of such changes being introduced.

In the above code sample, the new logo file is "CA-SM_logo-white-mod", which changes the elements in the xFlow interface that are highlighted below:

 

The logo file reference for "CA-logo-mod.svg" changes this element for Service Point highlighted below