AnsweredAssumed Answered

How to link custom module to email_addresses?

Question asked by Francesca Shiekh on Oct 7, 2014
Latest reply on Dec 5, 2014 by Francesca Shiekh
I basically want a relationship table between a custom module's table and the email_addresses table.

The idea is that records are entered in the custom module, then a file with a list of email_addresses is loaded in via a custom related documents module.

When the relationship is created a logic_hook reads the email addresses in the document and links the custom record to each of the addresses, if an address does not exist it creates and email_address record and links the two so that if in the future someone enters a contact or a lead with that address they will see these past custom records associated with that contact/lead (via a custom subpanel in v6.5.18 and/or eventually an intelligence pane in v7).

Module Builder does not have the ability to create a relationship to Email Addresses, so is there another way or do I need to rethink the design?

thanks,
FrancescaS

Outcomes