Developers can disable the table data export feature when an organization requires
tighter control over how operational data is accessed and distributed. Disabling the feature helps
to maintain consistent data‑governance practices, reduce the creation of unmanaged or outdated data
files, and ensure that users interact with data only within the workflows of the
application.
Procedure
-
Locate or create the buc-table-config.json file in the
/packages/<package>-root-config/src/assets/custom directory.
- Locate or add the table for which you want to disable the export
feature.
The main JSON body contains uniquely defined objects that map to different
tables. To find the object names to use in the JSON file, you can check the log messages in the
browser console while you navigate through the user interface. Search for the initializeTable
message and you can see the object name. For example, the following snippet shows the object name
order-table when you are on the outbound order search results
page.
Time since init (ms): 9334.
Log type: LOG.
Log generator: common-components.
Message: BaseTableComponent.initializeTable(): Initializing configuration for order-table
- Set the
enableTableExport property to false.
For example, to disable the export table option for the Order lines table, add the
following configuration to the
buc-table-config.json
file.
{
"orderline-table": {
"name": "orderline-table",
"headers": [
],
"enableTableExport": false <- new property
}
- Save the updated configuration and follow your standard build and deployment process to
apply the changes to your environment.
- Open the affected table in the application and confirm that the export table data action
is no longer available.