How can I remove and add fields in Mass Update?

Hi everyone,Thank for reading this conversation
I using Sugar CE 6.5.16 and i have two question:

1) As i know that in Module Builder, we can choose field to add on Mass Update, but i want remove some default field on mass update .  What should i do ? I have been try that code on custom\Extension\modules\SCP_Contract\Ext\Vardefs, but it not work.
$dictionary['SCP_Contract']['fields']['category']['massupdate']=0;  
$dictionary['SCP_Contract']['fields']['sub_category']['massupdate']=0;  
$dictionary['SCP_Contract']['fields']['do_not_call']['massupdate']=0;   
2) I want to add Relationship ( Many to One ) on Mass Update . Is it possible? 
Parents
  • For which module you want to update fields in Mass Update?

    You can Go to Admin->Studio->Your_Module->Fields

    Select your field. If you want your field in mass update, simply select checkbox for mass update.



    ~Sagar
  • Hi tanphat911,
    For Issue,
    1)
    <?php
    $dictionary['Account']['fields']['industry']['massupdate']=0; 
    ?>
    Just create the verdefs file.
    2)For which module you want to add field into relationship for custom module or base module?
    for custom module you need to customize custom/metadata/your_relationshipMetaData.php

    So, that a field will create into relationship table.

    Thanks & Regards
    Sumit Sahay
  • The issue 1, how do you fix?
    Tks very much.
Reply Children
No Data