Results 1 to 3 of 3

Thread: Email Templates + One-to-Many Relationships

  1. #1
    chrislynch8's Avatar
    chrislynch8 is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Cork, Ireland
    Posts
    747

    Default Email Templates + One-to-Many Relationships

    Hi,

    I am triggering an Email from a custom module that has a one-to-many relationhip to Contacts. Inthe Email Template when I select the realted information to include the name of the Contact, how can I have it select pull the names of all Contacts for the Email.

    Rgds
    Chris
    Linkedin Profile:Chris Lynch

    FDC IT Solutions
    FDC House
    Wellington Road
    Cork
    Ireland

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Email Templates + One-to-Many Relationships

    I don't think such feature is implemented.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    agcopley is offline Sugar Community Member
    Join Date
    Nov 2007
    Location
    Santiago, Chile
    Posts
    204

    Default Re: Email Templates + One-to-Many Relationships

    Hi Chris,
    You can create an additional field in your new module, which derives its value from a function which returns html. In this function you can then loop over your contacts and build a string, html table or whatever. Then you can include this field in your template.

    Check this link


    http://www.sugarcrm.com/forums/f6/function-sourced-custom-field-not-firing-function-60067/

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 6
    Last Post: 2011-04-26, 05:56 PM
  2. Replies: 1
    Last Post: 2006-10-03, 08:58 AM
  3. Email and templates
    By ymartin in forum General Discussion
    Replies: 2
    Last Post: 2006-03-15, 07:37 PM
  4. Email templates
    By eschellerup in forum Feature Requests
    Replies: 0
    Last Post: 2004-11-21, 01:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •