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
christmex
christmex9mo ago
see the network tab, when u click download, what is the result?
KingNii
KingNiiOP9mo ago
@christmex
No description
christmex
christmex9mo ago
u using filament export feature? like the export file is csv or excel right?
KingNii
KingNiiOP9mo ago
Yes please I get the export has started notification but I don’t get the completed notification
christmex
christmex9mo ago
do y have something liek this?
No description
christmex
christmex9mo ago
did u activate the notification?
KingNii
KingNiiOP9mo ago
I'm using the table and notification builder @christmex
christmex
christmex9mo ago
Do u have this icon?
KingNii
KingNiiOP9mo ago
I don't I'm trying to figure out how to add it
christmex
christmex9mo ago
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
KingNii
KingNiiOP9mo ago
I can't use this method because I'm using the table builder and notification not the panel builder.
christmex
christmex9mo ago
Ah ic
KingNii
KingNiiOP9mo ago
Which service provider @christmex do you think they're refering to?
No description
KingNii
KingNiiOP9mo ago
Exactly
christmex
christmex9mo ago
Try to add via AppServiceProvider Boot method
KingNii
KingNiiOP9mo ago
Tried it but I didn't it to work It seem I'll have to manually build the export action
krekas
krekas9mo ago
You don't need to add anything to the providers as I remember Check how to install notifications in your app
KingNii
KingNiiOP9mo ago
I have already installed the notifications package and it's already working. I just need to add the database-notification now
christmex
christmex9mo ago
can u show me the notification when u clik the export button?
krekas
krekas9mo ago
So add it🤷‍♂️ It's just one line
christmex
christmex9mo ago
he doesnt use filament panel only use table and notifications
KingNii
KingNiiOP9mo ago
This is it
No description
christmex
christmex9mo ago
oky coll, thts work, now wht u need only to add the button to show the notification modal
christmex
christmex9mo ago
something like this
No description
KingNii
KingNiiOP9mo ago
Exactly, the final stroke.
KingNii
KingNiiOP9mo ago
Yes, this is what is not working
christmex
christmex9mo ago
where did u add this one?
No description
christmex
christmex9mo ago
already create the button for opening this component?
christmex
christmex9mo ago
which is this one
No description
christmex
christmex9mo ago
then add in service provider
No description
christmex
christmex9mo ago
can u show me the notification button? the button Notification, this one
KingNii
KingNiiOP9mo ago
No description
KingNii
KingNiiOP9mo ago
I have done this Which service provider is the issue, the app provider didn't work
christmex
christmex9mo ago
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
KingNii
KingNiiOP9mo ago
It doesn't render because I can't seem to register the service in the provider
No description
KingNii
KingNiiOP9mo ago
Tried this and it didn't work
christmex
christmex9mo ago
in tht link,u need to add this kind of master layout, in that structur, there is @livewire('notifications')
No description
KingNii
KingNiiOP9mo ago
I already did. I even added the database-notification scripts @Leandro Ferreira php artisan notifications:table?? I did
christmex
christmex9mo ago
u save the button with this same path? /resources/views/filament/notifications/database-notifications-trigger.blade.php
christmex
christmex9mo ago
lets say u dont use this code
{{ $unreadNotificationsCount }}
{{ $unreadNotificationsCount }}
but if u clik that button, does the notification panel show, like this?
No description
LeandroFerreira
LeandroFerreira9mo ago
Yes, I'm on mobile and It was showing old messages, sorry
KingNii
KingNiiOP9mo ago
I tried this and it didn't work

Did you find this page helpful?