Filament Exporter
I tried exporting files and horizion show that the job was successful but for some reason the file was never downloaded. Can anyone help?
45 Replies
see the network tab, when u click download, what is the result?
@christmex
u using filament export feature?
like the export file is csv or excel right?
Yes please
I get the export has started notification but I don’t get the completed notification
do y have something liek this?
did u activate the notification?
I'm using the table and notification builder @christmex
Do u have this icon?
I don't
I'm trying to figure out how to add it
If u wanna download the file when ure using export action from filament, u should activated the database notifications
Here's how u can activate it
I can't use this method because I'm using the table builder and notification not the panel builder.
Ah ic
Which service provider @christmex do you think they're refering to?
Exactly
Try to add via AppServiceProvider
Boot method
Tried it but I didn't it to work
It seem I'll have to manually build the export action
You don't need to add anything to the providers as I remember
Check how to install notifications in your app
I have already installed the notifications package and it's already working. I just need to add the database-notification now
can u show me the notification when u clik the export button?
So add it🤷♂️
It's just one line
he doesnt use filament panel
only use table and notifications
This is it
oky coll, thts work, now wht u need only to add the button to show the notification modal
something like this
Exactly, the final stroke.
https://filamentphp.com/docs/3.x/notifications/database-notifications
already follow this step man?
Yes, this is what is not working
where did u add this one?
already create the button for opening this component?
which is this one
then add in service provider
can u show me the notification button? the button Notification, this one
I have done this
Which service provider is the issue, the app provider didn't work
the visual, when it render via broser, i want to see is when u click export does the number changes?
if boot doesnt work, try in register, i havent faced this issue before, but maybe i can try to help, sorry for asking and asking man
It doesn't render because I can't seem to register the service in the provider
Tried this and it didn't work
ight, u already install it right? u follow this steps
https://filamentphp.com/docs/3.x/notifications/installation
in tht link,u need to add this kind of master layout, in that structur, there is @livewire('notifications')
I already did. I even added the database-notification scripts
@Leandro Ferreira php artisan notifications:table?? I did
u save the button with this same path?
/resources/views/filament/notifications/database-notifications-trigger.blade.php
lets say u dont use this code
but if u clik that button, does the notification panel show, like this?
Yes, I'm on mobile and It was showing old messages, sorry
I tried this and it didn't work