Custom Bulk Action for Export with Notification in Panel

Hi all, I’m working on creating a custom bulk action where I need to export data to Excel. Once the export process is completed, I’d like to display a notification in the panel with a download link. Could someone please guide me on how this can be accomplished without using the default ExportBulkAction?
3 Replies
Dennis Koch
Dennis Koch2mo ago
What's the issue with the default action? The way would be - BulkAction receives the record ids - Push a job to the queue, that handles the export. Pass the record ids and the user id. - At the end of the job, send a database notification to the user.
Marketer
MarketerOP2mo ago
I created an export that includes multiple relationships, but using ExportColumn has made it quite complex since it’s not able to fetch the required data properly. While using a custom bulk action, I’m looking for a solution where I can utilize database notifications along with a temporary file URL to allow users to download the export file once it’s ready.
Dennis Koch
Dennis Koch2mo ago
While using a custom bulk action, I’m looking for a solution where I can utilize database notifications along with a temporary file URL to allow users to download the export file once it’s ready.
See my explanation above

Did you find this page helpful?