AnsweredAssumed Answered

How to add view to Administration module?

Question asked by André Policarpo on Jul 15, 2016
Latest reply on Jul 15, 2016 by André Policarpo

Hey everyone,

 

Today I was trying to add a custom link in the admin panel and did that successfuly. I also managed to add a custom action to the Administration module action view map. I know that the link is working because when I add the view manually in my local instance to sugar/modules/Administration/views and do a quick repair and rebuild the link redirects just fine.

What I'm trying to do now is make my module manifest copy the view that I created when I install the module. This is my copy array in the manifest:

 

'copy' => array(
        0 => array(
            'from' => '<basepath>/custom',
            'to' => 'custom',
        ),
        1 => array(
            'from' => '<basepath>/custom/Extension/modules/Administration/views/view.example.php',
            'to' => 'modules/Administration/views',
        ),
    )

 

When I try to install the module SugarCRM gives the following error at 14% progress:

Failed to copy cache/upgrades/temp/VcBOXd/custom/Extension/modules/Administration/views/view.example.php to modules/Administration/views

 

How can I solve this?

Thanks in advance!

Outcomes