ocram82
ImageEntry relationship get url
a little update, i try to use $state here
->url(fn ($state) => Storage::url($state), shouldOpenInNewTab: true)
but state contains the array of name attributes of all relationship items. There is a way to indicize it?3 replies
ExportAction download file on Digital Ocean Spaces
A little update, maybe someone can give a suggest on this.
The problem is in this file:
/vendor/filament/actions/src/Exports/Downloaders/CsvDownloader.php
This check fails if (! $disk->exists($directory)) {
because Filament can't see Digital Ocean bucket as a "path". This is how i saw.
Any suggestion on this?3 replies
Modify Export Action download URL link
yes, it works, i mean that i'm using Digital Ocean Spaces for store my files and effectively after export click, a folder named with a number /8 for example was created on it.
So now i've a folder with 2 csv files and a headers.csv file inside the /8 folder on Digital Ocean Spaces.
After that i see that the bell notification show 1. I click there and the download link (see pics) don't work because they are like:
http://localhost/filament/exports/1/download?format=csv
18 replies