Yetiforcecrm: Custom Module Actions "Mass Edit"

Created on 29 Apr 2016  ยท  7Comments  ยท  Source: YetiForceCompany/YetiForceCRM

Hi Team!!

I made a Custom Module, but dont have action "Mass Edit". I try to modify Roles, etc.. only work "mass edit" in "Administrator" Role.

image

In Profile dont have "mass edit" Check box.

image

Thanks 4 all!!

โ” question

All 7 comments

Hi.
The fact that you see these 4 actions is a security error we inherited from vtiger. You shouldn't see anything that was added to the profile at the script level.

Hi Paula,
Is there any way to enable "edit mass"?, may be modify some php file?.

Thanks!

I corrected the creation of modules should now work correctly. Create a module, or call the function enableTools

I changed that to fix it.. but doesn't work

image

After change:

image

I checked and work only from New Module.. Can i enable in current custom module? sorry, but i dont know how to call functions. :(

try this

        $module = new Vtiger_Module();
        $moduleInstance = $module->getInstance('ModuleName');
        $moduleInstance->enableTools(['Import', 'Export', 'DuplicatesHandling', 'CreateCustomFilter',
            'DuplicateRecord', 'MassEdit', 'MassDelete', 'MassAddComment', 'MassTransferOwnership',
            'ReadRecord', 'WorkflowTrigger', 'Dashboard', 'CreateDashboardFilter',
            'QuickExportToExcel', 'TagCloud', 'DetailTransferOwnership', 'ExportPdf',
            'RecordMapping', 'RecordMappingList', 'FavoriteRecords', 'WatchingRecords',
            'WatchingModule', 'RemoveRelation']);

Thanks!, It Worked!... Only needed add "require_once" on the first line.

require_once 'vtlib/Vtiger/Module.php';

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ldgbc picture ldgbc  ยท  3Comments

rubysown picture rubysown  ยท  3Comments

johntonji picture johntonji  ยท  3Comments

serbiaserbia picture serbiaserbia  ยท  3Comments

vovpff picture vovpff  ยท  3Comments