AnsweredAssumed Answered

How to add and remove fields in Massupdate?

Question asked by Eduardo Martínez on Aug 20, 2018
Latest reply on Aug 21, 2018 by delsugar

Hi everyone, I'm using Sugar Entreprise v8.0.0

 

I want to add fields on Massupdate, but the code that I used doesn't work, when I put my package the module appears loading and then doesn't change.

 

This is my code that I'm using for a field:

 

 

<?php

   $dictionary['Lead']['fields']['primary_address_state']['massupdate']=true;
   $dictionary['Lead']['fields']['primary_address_state']['comments']='State for primary address';
   $dictionary['Lead']['fields']['primary_address_state']['duplicate_merge']='enabled';
   $dictionary['Lead']['fields']['primary_address_state']['duplicate_merge_dom_value']='1';
   $dictionary['Lead']['fields']['primary_address_state']['merge_filter']='disabled';
   $dictionary['Lead']['fields']['primary_address_state']['full_text_search']=array (
      'enabled' => '0',
      'boost' => '1',
      'searchable' => false,
   );
   $dictionary['Lead']['fields']['primary_address_state']['calculated']=false;

?>

 

 

I've been try that code on custom/Extension/modules/Leads/Ext/Vardefs/sugarfield_primary_address_state.

 

And also I want to remove some fields from the Massupdate that doesn't appear in Studio.

Outcomes