Quantcast
Channel: Urdhva Tech | SugarCRM and SuiteCRM Customization and Development
Viewing all articles
Browse latest Browse all 66

How we do massupdate (Add/Replace) for MultiEnum field type in SugarCRM

$
0
0
Greetings from Urdhva tech!

Few days ago, I came across a requirement, is it possible to have massupdation of multienum field type with either add or replace value?

The answer was YES! It was not that simple as SugarCRM doesn't provide this option(Add/Replace) to mass update for multienum (multi select) field type.

What I simply did,
- Created a custom action menu on ListView.
- Showed a dialog box to select (Add/Replace) value for any multienum (multiselect) field.

Action Menu on ListView

The option will appear only if you have any multienum field created for that module.


Multienum Dialog with Add/Replace option.



  • If you choose “Add”, selected value get added to selected records. 
  • If you choose “Replace”, it will delete old value and assign new value.


Want to have more exciting solutions for SugarCRM from us? Stay tuned here!



Viewing all articles
Browse latest Browse all 66

Trending Articles