vanhellsing101
Import Action: How to remove the example download link or add multiple rows to the example CSV?
I have to import a CSV with multiple types of value to support in one column so I need to add at least 3 example rows in the downloadable example CSV.
Is it possible to add multiple rows to it?
If not is there a way to disable the example CSV altogether? I will use Placeholder to attach a link to my example CSV file.
The doc just has the example of adding value to 1 row. https://filamentphp.com/docs/3.x/actions/prebuilt-actions/import#providing-example-csv-data
8 replies
Import Action: Import data for the belongsTo relationship without having foreign_id in CSV itself?
I need to import a CSV for the resource that belongsTo to another resource eg: I have a company and I need to import the staff for that company. But reading the document for the import, the only way we can do that is by having the company_id in the CSV itself. Is there a way to pass the company_id by ourselves in the Importer?
6 replies