Results 1 to 2 of 2

Thread: Need to add a many-to-many field to the Contacts module

  1. #1
    callumd is offline Senior Member
    Join Date
    Mar 2010
    Posts
    38

    Default Need to add a many-to-many field to the Contacts module

    Hi there,

    I need to create some many-to-many fields in my Contacts module. Do I first need to create a new module for each many-to-many field? Or is there some other way of doing it?

  2. #2
    datasponge is offline Sugar Community Member
    Join Date
    Mar 2008
    Location
    San Jose, CA, USA
    Posts
    553

    Default Re: Need to add a many-to-many field to the Contacts module

    Hi Callumd,

    Do you want to add a new relationship between Contacts and some other module? Or do you want to add a field that contains data specific to a relationship rather than either related module?

    You can add a relationship to another existing module in Studio.

    To add a field with data unique to a relationship (two related records), see this thread for most of the solution. The edit is not yet worked out in that thread, but see the Opportunities-Contacts relationship for an example (I think the role field). Be warned that this requires a lot of code customization.

    Phil

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 2009-11-12, 06:12 PM
  2. Replies: 2
    Last Post: 2009-08-06, 09:41 AM
  3. Contacts module custom field issue
    By honeybee1 in forum Developer Help
    Replies: 9
    Last Post: 2009-03-11, 02:05 AM
  4. Replies: 0
    Last Post: 2008-02-20, 03:23 PM
  5. Replies: 0
    Last Post: 2007-06-07, 04:25 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
  •