Installation Instructions¶
Preparations¶
- Check that the requirements are met.
- Other things you need to check before starting the installation.
Installation¶
1. Add Package Dependency¶
Add limepkg-teams-webhooks
as a dependency to your solution.
poetry add limepkg-teams-webhooks
After adding the package, you can list the installed version:
poetry show limepkg-teams-webhooks
Finally run poetry lock
to make sure the new version locks work together in practice.
2. Add python code to lime objects that you want to trigger messages¶
To enable message sending from Lime CRM, you need to add code to the after_update
method for each Lime object that should trigger messages
Add the following code:
from limepkg_teams_webhooks import sender
sender.send_to_teams(self, unsaved_self)
Trigger a new release and deploy. It's then time to configure!