CA Service Management

  • 1.  Could we change Buttons lables?

    Posted Mar 08, 2017 11:53 AM

    We need to change some button labels in order to make some actions more easy to execute to end users.

    Thanks for your comments.

    Regards,

    JOHN



  • 2.  Re: Could we change Buttons lables?

    Broadcom Employee
    Posted Mar 08, 2017 12:01 PM

    John, do you mean Service Desk web interface pdm_macro for button? something like this

    <PDM_MACRO name=button caption="XXXX"...>

    if yes, you can modify the caption="XXXX" to what you think best fit.

    Thanks _Chi



  • 3.  Re: Could we change Buttons lables?

    Posted Mar 08, 2017 12:04 PM

    Sorry, forget that detail... this is for USS.

    Thanks for your answer.

    Regards,
    JOHN



  • 4.  Re: Could we change Buttons lables?

    Broadcom Employee
    Posted Mar 08, 2017 12:21 PM

    John.........

     

    Unfortunately, customization of USS is very limited at the time being.

     

    Depending on what your exact requirements are, perhaps some other USS user can provide some guidance.

     

    Unfortunately, this is outside the scope of CA Support.



  • 5.  Re: Could we change Buttons lables?

    Broadcom Employee
    Posted Mar 09, 2017 02:49 AM

    Good Morhing John.
     
    The options to change the USS-UI visibility, is very limited.
     
    As an example, I found the following possible color change, for the 'Cancel' button on a request page.
    Where the new color means: Be careful hitting this button.
     
    Folder: C:\Program Files\CA\Service Catalog\filestore\themes\common\css
    File  : request.widget.css
    GoTo line 1848 and find:
     
    .ca-catalog-req .req-del-btn, .ca-catalog-req .req-cancel-btn{
     background-color:#e1e1e1 !important;
      color: #333333 !important;
      background-image: -webkit-linear-gradient(top, #de0500 , #cccccc) !important;
      background-image: -moz-linear-gradient(top, #de0500 , #cccccc) !important;
      background-image: -ms-linear-gradient(top, #de0500 , #cccccc) !important;
      background-image: -o-linear-gradient(top, #de0500 , #cccccc) !important;
      background-image: linear-gradient(to bottom, #de0500 , #cccccc) !important;
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#de0500', endColorstr='#cccccc', GradientType=0 ) !important;  /* IE6-9 */   
      background: linear-gradient(top, #de0500 0%,#cccccc 100%); /* W3C */
    }
     
    - In the above, the original color setting was '#333333' and then changed this into '#de0500 !important;'
    - Save the file.
    - In Chrome, logon to the USS and open a request.
    - Hit F5 after you changed the above file-content.
    - And see the color of the text 'Cancel' in the button has changed into red.
    - The 'Cancel' button then shows in red. Meaning: 'Be careful'.
     
    When you hit F12 in the browser, you might found the 'source' of the 'objects' on the appearing USS-UI-Window.
    Through which you then can see, whether you can change the source-file being found as such.
     
    A Very Important Note:
    These changes are non-supported. Which means that e.g. applying a patch could destroy these changes.
     
    Thanks and kind regards, Louis van Amelsfort.



  • 6.  Re: Could we change Buttons lables?

    Posted Mar 10, 2017 05:54 AM

    well this will really depend what button you need to modify. Note that int he case you describe above the cancel button is part of catalog as USS simply display the widget and therefore modification is to be done in Service Catalog instead of USS itself.

    to modify few in USS.

     

    • buttons images them self are stored under: \OSOP\tomcat-7.0.40\webapps\front-office-theme\images\buttons
    • most css for USS are stored under: \OSOP\tomcat-7.0.40\webapps\front-office-theme\css
    • jsp files specific to USS are stored under: \OSOP\tomcat-7.0.40\webapps\openspace-portlet\html\portlet
    • most css for USS are stored under: \OSOP\tomcat-7.0.40\webapps\front-office-theme\css

     

    • you can modify messages for each languages by modifying the corresponding languages properties files under:

    \OSOP\tomcat-7.0.40\webapps\front-office-hook\WEB-INF\classes\content\

    the ones modified by CA for USS contain ext  in file name (i.e.Language-ext_fr.properties ) make sure you modify only those

     

     

    As warned already in previous post no support here you are on your own (and a little with this communitiy  )

     

    Hope this help.

    /J