Hi,
When user press ‘select’ on contact subpanel of an account, how filter respective contact of the account.
-Regards,
fareedkh.
Hi,
When user press ‘select’ on contact subpanel of an account, how filter respective contact of the account.
-Regards,
fareedkh.
Hi @fareedkh
You can use parameter: ‘initial_filter’ in file editviewdefs.php of contact module.
Example:
...
panels=>array(
...
3 => array (
0 => array (
'name' => 'bfd_incontracts_app_name',
'label' => 'LBL_BFD_INCONTRACTS_APP_TITLE',
'displayParams' => array (
'initial_filter' => '&account_id_advanced=" + document.getElementById("account_id").value + "&bfd_incontracts_id_advanced=" + document.getElementById("bfd_incontracts_main_id").value + "',
),
),
...