Employee Centre Portal Changes

Snehal
Tera Expert

Hi,

I need to change the label from My Request to My Tickets on the Top right corner of the Employee Center portal.

 

Thank You

 

3 ACCEPTED SOLUTIONS

Sandeep Rajput
Tera Patron
Tera Patron

@Snehal  There are two ways to achieve this, 

1. The difficult way: My Request menu item belongs to Employee Center Header widget. 

Screenshot 2024-01-16 at 9.02.52 PM.pngScreenshot 2024-01-16 at 9.03.41 PM.png

 

One way to achieve this is to change the My Request text to My Ticket. However, this will let the OOTB widget customise and once customised it will be skipped during upgrade. This is not the recommended way

 

2. The easier route: There is another alternative available which is to create Message key in sys_ui_message table as follows.

 

Go to sys_ui_message

Screenshot 2024-01-16 at 9.08.54 PM.png

 

Create the UI Message Key as follows.

Screenshot 2024-01-16 at 9.11.11 PM.png

Once saved go back to esc portal as check My Requests has been replaced with My Tickets

Screenshot 2024-01-16 at 9.12.46 PM.png

Hope this helps.

View solution in original post

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

Not sure why someone replied with that this is hardcoded... that's totally wrong 😁

 

Applying i18n debugging, within a few seconds you can locate if it's translatable or not:
(actually its not only about translations, you can also change English wording)

MarkRoethof_0-1705420357598.png

 

In this case the place to be... MSG: UI Message!

 

Read more on i18n debugging in this article I wrote a few years back.

- 2021-05-18 - Blog - Q: Help!!! (How) can I translate this? A: Have you had a look at I18N Debugging?

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

Thank You !! It Really Helped 

View solution in original post

4 REPLIES 4

JaeggerLegane
Kilo Sage

Hello Snehal,


The label "My Requests" is unfortunately hardcoded in the widget so you can't edit this via the traditional menu items of the page.  You would have to clone the widget and make the change directly in the code.

The solution noted in this post on adding a translation message, will may help you however:
https://www.servicenow.com/community/employee-center-forum/how-can-i-rename-my-requests-in-header-me...

 

--------------------------------------------------------------------------------
If my post helped you, please click the accept solution button and hit the thumbs up! Thank you!

Sandeep Rajput
Tera Patron
Tera Patron

@Snehal  There are two ways to achieve this, 

1. The difficult way: My Request menu item belongs to Employee Center Header widget. 

Screenshot 2024-01-16 at 9.02.52 PM.pngScreenshot 2024-01-16 at 9.03.41 PM.png

 

One way to achieve this is to change the My Request text to My Ticket. However, this will let the OOTB widget customise and once customised it will be skipped during upgrade. This is not the recommended way

 

2. The easier route: There is another alternative available which is to create Message key in sys_ui_message table as follows.

 

Go to sys_ui_message

Screenshot 2024-01-16 at 9.08.54 PM.png

 

Create the UI Message Key as follows.

Screenshot 2024-01-16 at 9.11.11 PM.png

Once saved go back to esc portal as check My Requests has been replaced with My Tickets

Screenshot 2024-01-16 at 9.12.46 PM.png

Hope this helps.

Thank You !! It Really Helped 

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

Not sure why someone replied with that this is hardcoded... that's totally wrong 😁

 

Applying i18n debugging, within a few seconds you can locate if it's translatable or not:
(actually its not only about translations, you can also change English wording)

MarkRoethof_0-1705420357598.png

 

In this case the place to be... MSG: UI Message!

 

Read more on i18n debugging in this article I wrote a few years back.

- 2021-05-18 - Blog - Q: Help!!! (How) can I translate this? A: Have you had a look at I18N Debugging?

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn