knowledge

Bhavani1995
Tera Contributor

As a Knowledge Manager, I want the "Translate" button to be hidden from all users on the Knowledge article form, So that we can prevent unauthorized or incorrect machine translations and ensure users only read the officially published content.

how to hide translate button for few knowledge bases and for remaining knowledge bases it should be visible

1 REPLY 1

Rafael Batistot
Kilo Patron

Hi @Bhavani1995 

 

In the button condition add: gs.hasRole(“<specific_role>”)

 

if is a field add a client script onLoad:

 

if(g_user.hasRole(“<specific_role>”))g_form.setVisible(“<field_name>”,true)