Add custom export on Accounts

Hi to all, fast question, i have to make an csv export of account and all the contact assigned to them in a csv. There is a way to create a custom export funcion that merge 2 different module for a single export?

And how i can put the link there?

I can tell you how to customize one of those actions in code:

Part 1

Part 2

1 Like

In this part i’ve created the code for a test. But if i select more then 20 account, he take only the first 20, and the other are lost. how could avoid this pagination?

Does this help?

if it works, post the final result so I can fix my gist

1 Like

Sadly, nope, seems not even compatible with php

It’s Javascript!

It goes in the onclick handler. But I don’t know exactly how to pass this along to the other page we’re calling and then iterate through the results, and I don’t have time to work on this now, you’ll have to try it by yourself… good luck!