F
Filament11mo ago
KingNii

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

Did you find this page helpful?