how to disable the export to excel button on the customer generic list?

  • 11 November 2021
  • 2 replies

Userlevel 1

Hello everyone,


with the rising trend on data privacy, how can I disable the ‘export to excel’ button on the customer generic list for most users? Thank you.


Kind regards,


2 replies

Userlevel 7
Badge +10

Hi @mrivera67  I just worked on the Sales Orders screen, Document Details grid, I can able to disable the export excel button using below code.

Action Name: ExportExcel


   <px:PXToolBarButton Text="" CommandSourceID="ds" CommandName="ExportExcel" Enabled="false" />



Userlevel 3

@mrivera67 You can set the access rights using the  Access rights by role or Access rights by user to disable the export option. 
Below is the reference to set the access rights by role. 



Happy Coding!


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2020  Acumatica, Inc. All rights reserved