- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2024 01:32 PM
Hello,
I was curious if anyone knew how to change the button text for the user consent pop-up (Non-EU & Non-US user)? We would like to change it from "Agree" to "Okay".
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2024 11:22 AM - edited 04-24-2024 11:23 AM
Hi everyone,
We ended up contacting ServiceNow support and they provided a solution that is along the lines of what @Deepak Shaerma and @Mark Roethof had mentioned in their previous post. I posted the solution below if anyone needs it in the future.
To make the change, i.e. to make the button text change from 'Agree' to 'Okay', you can create a new sys_ui_message record as below.
Key: Agree
Message: I get it!
Language: English
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2024 09:54 PM
Hi @kwong43
ServiceNow uses UI pages, UI macros, or custom widgets (if using Service Portal) to generate and display UI elements such as consent pop-ups. You need to locate the exact file that is responsible for rendering the consent pop-up.
2. Modify the Button Text:
Once you’ve located the file, search for the “Agree” button code. It would likely be in an HTML form within a UI Page or a widget in the Service Portal. Change the text from “Agree” to “Okay” in the HTML or script file. If you’re working within the Service Portal widget, you’d modify the HTML template or the client script part that generates the button label.
Please Mark this Helpful and Accepted Solution. If this Helps you to understand. This will help both the community and me..
- Keep Learning
Thanks & Regards
Deepak Sharma

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2024 10:09 PM - edited 04-12-2024 10:10 PM
Hi there,
Have you tried UI Messages, to see if you can control this from there?
I would need to reproduce, though if ServiceNow has set this up properly, most likely the button translation is through UI Messages. Not only translation, though also to overwrite English wording. So no customization of a UI Page or whatever.
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2024 05:02 AM
Hi @kwong43 ,
I checked your problem in my PDI and I checked in widgets, UI Pages and UI Macro I didn't find anything for the popup thing but in UI Messages I found the whole containt for the Enable Analytics - "glide.analytics.consent.other.text"
Please check the image below
Please mark my answer correct and helpful if this wokrs for you
Thanks and Regards
Sarthak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2024 11:22 AM - edited 04-24-2024 11:23 AM
Hi everyone,
We ended up contacting ServiceNow support and they provided a solution that is along the lines of what @Deepak Shaerma and @Mark Roethof had mentioned in their previous post. I posted the solution below if anyone needs it in the future.
To make the change, i.e. to make the button text change from 'Agree' to 'Okay', you can create a new sys_ui_message record as below.
Key: Agree
Message: I get it!
Language: English