I have a custom data entity with a custom table as its datasource. I want to drop all data in the data source table right when a user selects import in DMF so that the only data that should be in the table is the most recent import, and any rows that came in from the last import would be wiped out.
I have already looked at the data entity callstack and tried multiple methods to put my delete_from (table) code in, but none of them work. I tried mapEntityToDataSource and it deleted every previous record one at a time so that when the import is complete the only record in the table/entity is the very last row.
Thanks in advance!