To configure the import and/or export functionalities:
- In <workflow_name>_form.py, that uses a data table (i.e., when the TableField class is instantiated), pass the buttons parameter.
Pass the parameter as required:
Note: If the buttons parameter is not passed at all, the Export CSV button is enabled by default.
- To enable both the Import CSV and
Export CSV buttons:
buttons = ['import', 'export']
- To disable all the buttons:
buttons = 
- To enable both the Import CSV and Export CSV buttons: