Sugar can be configured to send Email Notifications to a user whenever another user assigns them a record. But in this article we are going to see how we can show notifications to users in the Sugar Notification Box on record assignment. We will use Leads,Contacts,Accounts and Opportunities module as our basis.
Adding a new Application Hook
We will create a new application logic hook which will get triggered when ever a new record is assigned to a user.
Step 1: Adding a new application hook
Step 2: Define notification hook class
Step 6: Quick Repair and Rebuild
Finally, you will need to run Quick Repair and Rebuild in order to build your new extensions.