Reset selected users preference from ListView

sugarcrmdevelopers —  August 13, 2013
Greetings from Urdhva Tech!!!

How to reset preference for multiple users?

Simple, first of all add new action link in User’s ListView.
How? Get reference from here Adding your own ListView action items

In your custom action you will get ids of selected users. Loop through it and use following code to reset the preference.

$oUser = new User();

Follow us on twitter: @Urdhvatech

Contact us at for any services related to SugarCRM.