Hi
Create a file studio.php in modules/ProspectLists/metadata with below code
Code:
<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
$GLOBALS['studioDefs']['ProspectLists'] = array(
'LBL_DETAILVIEW'=>array(
'template'=>'xtpl',
'template_file'=>'modules/ProspectLists/DetailView.html',
'php_file'=>'modules/ProspectLists/DetailView.php',
'type'=>'DetailView',
),
'LBL_EDITVIEW'=>array(
'template'=>'xtpl',
'template_file'=>'modules/ProspectLists/EditView.html',
'php_file'=>'modules/ProspectLists/EditView.php',
'type'=>'EditView',
),
'LBL_LISTVIEW'=>array(
'template'=>'listview',
'meta_file'=>'modules/ProspectLists/listviewdefs.php',
'type'=>'ListView',
),
'LBL_SEARCHFORM'=>array(
'template'=>'xtpl',
'template_file'=>'modules/ProspectLists/SearchForm.html',
'php_file'=>'modules/ProspectLists/ListView.php',
'type'=>'SearchForm',
),
); Now you can see the Target Lists module in studio. Create Many-to-Many rekationship between Accounts and Target Lists module using studio.
I hope this helps
Bookmarks