Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

Restrict TRANSLATE button visibility based on group/user in portal

Balakrishna_ABK
Kilo Sage

tbv.png

is it possible to restrict TRANSLATE button visibility based on specific group/users in portal

2 REPLIES 2

Tanushree Maiti
Tera Patron

Hi @Balakrishna_ABK 

 

Refer: Is it possible to disable Dynamic Translation for some users? 

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

MaheshG95462175
Tera Contributor

Not out-of-box. A ServiceNow employee confirmed on a related thread that Dynamic Translation / Translate button visibility cannot be restricted by group or user through standard configuration the only native control is a system property that restricts it by table, not by user/group.

If you need per-group/user control, you'll have to build it yourself:

If the Translate button is a widget in Service Portal, clone it and add a server-side check like data.showTranslate = gs.getUser().isMemberOf('your_group_sys_id');, then wrap the button markup in <div ng-if="data.showTranslate">.
If it's rendered through UI Builder / a newer experience, you'd similarly need a custom component with a visibility condition tied to gs.getUser().isMemberOf(...) or a role check, since there's no native config field for this.

So the practical answer for the original poster: this isn't a missing setting they overlooked it's a genuine platform gap, and any group/user level restriction requires custom widget/component work.

reference: