Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

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)

If you found this response helpful, please mark it as Helpful. If it fully answered your question, consider marking it as Correct. Doing so helps other users find accurate and useful information more easily.