How to make a table not be deleteable

LabKey Support Forum
How to make a table not be deleteable marcia hon  2018-06-13 08:50
Status: Closed
 

Hello,

I have created a table via module-etl.

Is there a way to force the table to not allow records to be deleted?

Thanks,
Marcia

 
 
Jon (LabKey DevOps) responded:  2018-06-22 20:30
Hi Marcia,

If you're referring to not allowing users to access the delete buttons on the grid, I would recommend customizing your table's buttonbar via XML so it does not include the delete buttons.

Please see our docs on buttonbar configurations for more details:

https://www.labkey.org/Documentation/wiki-page.view?name=customButtonBars
https://www.labkey.org/download/schema-docs/xml-schemas/schemas/tableInfo_xsd/elements/buttonBarOptions.html

Regards,

Jon