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?
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
https://gist.github.com/pgorod/5de7c6f8d37413654b16e06668d7e1b1
Part 2
https://gist.github.com/pgorod/c838f258fadf9528b61183e763e978a8
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?
https://community.sugarcrm.com/thread/28246
if it works, post the final result so I can fix my gist
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!