Disable/hide export context menu on the form

yunbo1
Tera Contributor

How to hide the export context menu on HR Profile form when the login user has only HR Basic role, I can only allow HR Admin to export.

find_real_file.png

7 REPLIES 7

just do a inspect element on the context menu of export, see if that is changed in latest version. Maybe name change could cause this

Hi @Harshad Wagh 

 

It is same, please refer below screenshot.

 

Gunashekar_0-1694695983351.png

 

Guy Sagi
Tera Contributor

Hello @Gunashekar 

 

I tried to implement the same and encountered the same issue as you. The Client Script does not recognize the 'window' object, however, when I tried to access the 'window' object from the 'top' object it solved my issue.

 

Please try to add the top object to the Client Script like the example below:

GuySagi_0-1707726727867.png

 

Best regards,

Guy