As you know, when you want to add a Contact to a Target List you select the contact and then click on the "Add to Target List" button. After that, you can see in the Target list's subpanel the attached contact.
I have created 5 checkboxes (the target lists that I have in Sugar) in the contact module as a tab panel. If one or more checkbox (target list) is marked then the target list must add the contact(s) to its subpanel. In this manner, contacts can be assigned to target lists using checkboxes.
I'm trying to accomplish this using a LoogicHook and the getBean() method. My sugar version is 7.7.
Any idea or suggestion?