Highlighted
Super Contributor.
Super Contributor.
575 views

Rename "More" button in web client

Jump to solution

Hello!

Can I somehow rename the "More" button in the web client?

I cannot find in in scmessage. Since it is only present in the web client, I assume that this can be done from the web tier settings.

I found something similar in the file "<web-tier path>\WEB-INF\classes\com\hp\ov\sm\client\webtier\cpe_web.properties". There is string MORE=More, but changes in this file do not affect the text of the button in the system.

Is it possible to rename this button text?

0 Likes
1 Solution

Accepted Solutions
Highlighted
Honored Contributor.. Honored Contributor..
Honored Contributor..

Re: Rename "More" button in web client

Jump to solution

I'm afraid that's hard coded or stored in properties files in web client.

What I found:

Check the file: <apache tomcat>\webapps\webtier-9.60\cwc\index.jsp

I just changed the line setting the MORE_BUTTON_TEXT value:

 

        //MORE_BTN_TEXT: "<%=cwcLabels.getString("cwc.ext.moreBtnText")%>",
        MORE_BTN_TEXT: "Much more",

 

Then restarted the Apache Tomcat - and I got the "Much more"-Button:

MUCHMORE.png

It's quick and dirty but a solution! 🙂

Bo

 

View solution in original post

6 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Rename "More" button in web client

Jump to solution

Hello Alexander,

Have you tried on the display option? I am not sure for web if rename the more options button could be done.

Carlos Villalobos R
Customer Support Engineer
If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.
0 Likes
Highlighted
Super Contributor.
Super Contributor.

Re: Rename "More" button in web client

Jump to solution

Hello Carlos,

Eh, if all was so simple)
The fact is that there is no this button in the displayoption.

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Rename "More" button in web client

Jump to solution

Have you checked SM's table "scmessage"? There are couple of records with text "More". For example:

class: scbutton
Message: More

I didn't test does the caption's modding make difference.

I'd say there aren't many hardcoded strings in SM anymore. Due to localisation efforts, most of the labels and texts won't reside in the code (webtier, RTE etc.) but in a separate text files (SRC) or tables such as scmessage.

---
Moving on, this account is no longer active. Best regards, Kelalek
- So Long, and Thanks for All the Fish
0 Likes
Highlighted
Super Contributor.
Super Contributor.

Re: Rename "More" button in web client

Jump to solution

Hi,

Yes, I checked "smessage" table, the changes in this table do not affect "More" button in the web client.

0 Likes
Highlighted
Honored Contributor.. Honored Contributor..
Honored Contributor..

Re: Rename "More" button in web client

Jump to solution

I'm afraid that's hard coded or stored in properties files in web client.

What I found:

Check the file: <apache tomcat>\webapps\webtier-9.60\cwc\index.jsp

I just changed the line setting the MORE_BUTTON_TEXT value:

 

        //MORE_BTN_TEXT: "<%=cwcLabels.getString("cwc.ext.moreBtnText")%>",
        MORE_BTN_TEXT: "Much more",

 

Then restarted the Apache Tomcat - and I got the "Much more"-Button:

MUCHMORE.png

It's quick and dirty but a solution! 🙂

Bo

 

View solution in original post

Highlighted
Super Contributor.
Super Contributor.

Re: Rename "More" button in web client

Jump to solution

Thanks!

This is exactly what we need!
It is a pity, of course, that such strings are hardcoded, but there is nothing to do, we will correct it here)

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.