AnsweredAssumed Answered

How do I modify history dashlet from Meeting to Tasks in Account module ?

Question asked by Autchara Chaiprom on Nov 4, 2015
Latest reply on Nov 5, 2015 by Autchara Chaiprom

I create a custom dashlet, copy all history dashlet folder, put into custom folder, rename and rebuild.

My mycustom dashlet is showing and work.

I try to change Meeting into Tasks.

 

I change status to Task status, change module to Tasks and replace meetings with tasks.

But tasks is not showing. May be wrong variable.

 

What code that I should to replace in link ?

 

history.php

 

'tabs' => array(

        array(

            'active' => true,

            'filter_applied_to' => 'date_start',

            'filters' => array(

                'status' => array('$in' => array('status1', 'status2','status3')),

            ),

            'link' => 'tasks',

            'module' => 'Tasks',

            'order_by' => 'date_start:desc',

            'record_date' => 'date_start',

            'row_actions' => array(

                array(

                    'type' => 'unlink-action',

                    'icon' => 'icon-unlink',

                    'css_class' => 'btn btn-mini',

                    'event' => 'tabbed-dashlet:unlink-record:fire',

                    'target' => 'view',

                    'tooltip' => 'LBL_UNLINK_BUTTON',

                    'acl_action' => 'edit',

                ),

            ),

            'include_child_items' => true,

        ),

 

 

ask.PNG

 

SugarCRM Professional, Version 7.5.2.0

 

Thanks,

M

Outcomes