Step1:
File path
<application>/module/<module name>/module name.php
Add property below in class in above file
var $importable = true;
note : But this is core class/file so think how to do in your custom class.
Step2:
File path<application>/Extension/Module/<module name>/Ext/Menu/menu.php
add code below
<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
if(ACLController::checkAccess('amit_test_amitesh_module', 'import', true)) $module_menu[]=Array("index.php?module=Import&action=Step1&import_module=amit_test_amitesh_module&return_module=amit_test_amitesh_module&return_action=index", "Import","Import", 'amit_test_amitesh_module');
?>
now you will get result.
hope u like it, thanks.
No comments:
Post a Comment