• Set selected_teams (padlock) in Logic Hook

    Hello All, I am working on SugarCRM Enterprise, Version 9.0.2 (Build 191) (Spring '19) I can set padlock (which is used for teams with special access: O&ST) from record.js but I want to set it from hook. I want to achieve same functionality from before_save…
  • Using after_relationship_add/delete in Users

    Hi guys, I was trying to use the after_relationship_add hook to catch when a Role or a Team is added to an User. I had no problem with Roles, but with Teams, I couldn't make it work. Here is an example of what I have: The logic_hooks.php file <?php $hook_version…