|Posted by swapnil shinde on January 31, 2012 at 3:30 PM|
The easiest way to do this is by providing your own query to use in the module’s bean method create_export_query(), but this isn’t upgrade-safe for any of the out of the box modules. However, there is an upgrade-safe way to do this, although it’s a bit more indepth, which our resident Sugar Hero andopes points out below ( from this post ):
You can create the script custom/modules/Leads/entry_point_registry.php containing something like that:
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
$entry_point_registry['export'] = array('file' => 'custom/modules/Leads/export.php', 'auth' => true);
The script custom/modules/Leads/export.php should be similar to default export.php. Inside this script you need to call a customized export (defined in include/export_utils.php). You can defined then which fields to export.
Categories: Jan2012-SugarCRM Help