Adding massive print option in custom module

Hey,

I do have a custome module, and i want to select any register that i want, and in the menu where appears Delete, Massive Update and Export, to add a new option that is Print PDF, that actually prints every register that I selected before, I attach a picture in case i didn’t explain correctly.

Thanks

This post may help for adding the action item to your List View options:
https://developer.sugarcrm.com/2010/11/22/howto-adding-your-own-listview-action-items/

However, I believe you will have to override the generatePdf.php file at modules/AOS_PDF_Templates/generatePdf.php to accept an array of ids instead of a single record ID.

Hope that gets you on the right track.

1 Like

Hey,

What do I need to change to accept an array of ids instead of a single record ID?

Thanks!

I already got it!