I have created a module which need to copy the JS file in to the custom/Accounts folder and that file need to be included in the includes section of detailviewdefs, So I have found some answers from googling and I modified my manifest file (attached below) but it is not working. Can anyone please help me to include this file in detailviewdefs.php
//.........continues
$installdefs = array(
'id' => 'package_119118120',
'copy' => array(
0 => array(
'from' => '<basepath>/custom/modules/Accounts/Ext/Layoutdefs/quickcreateoverride.php',
// 'from'=> '<basepath>/layoutdefs/modules/Accounts/quickcreateoverride.php',
'to' => 'custom/Extension/modules/Accounts/Ext/Layoutdefs/quickcreateoverride.php'
// 'to_module'=>'Accounts'
),
1 => array(
'from'=>'<basepath>/custom/modules/Accounts/address_map.js',
'to' => 'custom/modules/Accounts/address_map.js',
),
),
'layoutdefs'=> array(
'from'=>'<basepath/custom/modules/Accounts/Ext/Layoutdefs/quickcreateoverride.php',
'to_module'=>'Accounts'
),
);
$viewdefs['Accounts']['DetailView']['templateMeta']['includes'] =
array (
array (
'file' => 'custom/modules/Accounts/address_map.js',
),
);