Search code examples
crmopentaps

How to use controller injection in opentaps 1.5.0?


I'm a few days new into opentaps, and I've been trying to add a menu item of an entity I created to the crm/sfa application tabs. Since almost no documentation exists on how to achieve this progress is slow. However I did come across this article and I've tried injecting my controller and the example controller into the app but so far gotten nowhere. Can anyone clarify this actually works as is documented and perhaps provide pointers as to how to achieve this. Thanks


Solution

  • Yes this works and following the docs you should be able to use it. Please note that you can only inject one controller and not more than that. We created a patch which allows multiple controller injection and if you are interested I can send it to you.