Adding Emails to custom module

Hello,

I just created a new custom module (basic) and now I want to add an Emails sub-panel to it. Since Emails is not a module, do you have an idea how to add? We have it our Account module and I would like to re-create in our new custom module.

Thanks!

Ada

  • Hi Ada

    You can simply add the Emails module and then create the relationships.

    1. Create a folder called 'Emails' for instance

    2. Create a manifest.php file (code snippet below) and paste into tjhe 'Emails' folder

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    <?php
    /*
    * Your installation or use of this SugarCRM file is subject to the applicable
    * terms available at
    * http://support.sugarcrm.com/06_Customer_Center/10_Master_Subscription_Agreements/.
    * If you do not agree to all of the applicable terms or do not have the
    * authority to bind the entity as an authorized representative, then do not
    * install or use this SugarCRM file.
    *
    * Copyright (C) SugarCRM Inc. All rights reserved.
    */
    // THIS CONTENT IS GENERATED BY MBPackage.php
    $manifest = array (
    'built_in_version' => '10.0.4',
    'acceptable_sugar_versions' =>
    array (
    0 => '',
    ),
    'acceptable_sugar_flavors' =>
    array (
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    3. Create a folder called 'Files' and inside that create a folder called 'metadata'

        The path would look something like this Emails\Files\metadata

    4. Create a blank studio.php file (code snippet below) with NO contents within the metadata path

    5. Copy manifest.php file and Files directory to create a zip file

    6. Import via modfule loader and then you will see emails as a module in Studio

  • Is this kind of customization possible in hosted?

  • Hi ,

    just create a relationship to "Activities".

    This will automatically enable the acitity stream and add relationships to the following modules:

    Enjoy! Man dancing

    Bests

    Björn

  • Hi ,

    The Emails module is part of the Activities suite of modules (Meetings, Calls, Notes, Tasks, Emails). To deploy a relationship to the Emails module, I highly recommend creating the relationship between your custom module and Activities. This will add the module to the flex relate field found in all those modules. If, for some reason, you don't want the other modules to appear as subpanels, you could have those selectively hidden with a code customization.

    Chris

  • you need to create an upload package with the files you want to upload. this requires a manifest that makes sure your files are embedded in the file system accordingly https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_12.0/Architecture/Module_Loader/Introduction_to_the_Manifest/

    Yes it works but it requires a bit of dev experience :-)

    Bests

    Björn

  • hi

    No code needed, just a relationship between the custom module and Activities.

    Hope that helps

    .

    CRM Business Consultant

1 2