Hi @michaelwpnz,
Thanks for your question! You have probably found https://tablepress.org/modules/automatic-table-export/ for this here.
Indeed, the file name is (kind of) dynamic — but stable/fixed: It will be of the format <table-id>-<sanitized-table-name>.<format>, e.g. 3-product-list.csv for the table with the ID 3 and the name “Product List”, exported in the CSV format.
Would that work for your use case?
Best wishes,
Tobias
I need to be able to maintain the same filename. My use case is a Geofeed.
https://blog.apnic.net/2024/12/05/how-to-boost-geolocation-accuracy-with-geofeed/
Another nice feature would be to have column headers which do not appear in the CSV. This is less important then the above.
Hi,
Thanks for the explanation! Just so that I understand: You need the file name to be stable/unchanged, so that you can use the URL on that external service? Then, that part is covered, as long as you don’t change the table ID or name in TablePress 🙂 But in addition, I’ll be happy to a filter hook configuration possibility that can be used for specifying desired (unchanged) file names 🙂
Having column headers in the table, but not in the exported CSV file, will also be possible with such a method, as we can then use a filter hook to remove these from the files!
(Both of these are great suggestions, actually, thanks!)
So, in summary I think the Automatic Table Export feature module that I mentioned above would be a great solution for your use case!
Best wishes,
Tobias
Hi @michaelwpnz,
Quick update here 🙂
Today, we released TablePress 3.2.6, which has plugin filter hooks in place that allow setting the export file name to something “stable” (if the auto-naming is not sufficient) as well as modifying the export output before it’s written to a file 🙂
Best wishes,
Tobias