Results 1 to 3 of 3

Thread: Custom Module - relate problems

  1. #1
    guptajee is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    18

    Default Custom Module - relate problems

    I created a custom module, and then created Custom fields for that module. Some of the custom fields were 'related' to contacts, since I want 4 contacts to appear in my Custom module. Contact 1 relates fine to my custom module, but I am getting an error 'No match for field: " when I try to click save. Anyone knows what's going on?

  2. #2
    eosterberg's Avatar
    eosterberg is offline Member
    Join Date
    Jul 2008
    Location
    Minneapolis Minnesota US
    Posts
    6

    Default Re: Custom Module - relate problems

    Have you found a solution to this issue yet?

  3. #3
    eosterberg's Avatar
    eosterberg is offline Member
    Join Date
    Jul 2008
    Location
    Minneapolis Minnesota US
    Posts
    6

    Default Re: Custom Module - relate problems

    Ok, I found the solution to my problem.

    SugarCRM needs both a varchar(36) field and a varchar(255) field in the table named [module_name]_cstm
    It appears that only the varchar(255) is created for the second and each additional relationship between the same module to module link. If you could provide the specific details of what you are adding or linking I can provide some more specific answers.

    The same issue, missing the second db record for each relationship added between like modules after the first, is going on with the table fields_meta_data.
    If you can find the LBL_LIST_RELATED_TO record and duplicate that as needed for each additional relationship making sure that the 'id' and 'name' are uniq for each pair.
    You will also need to edit the related record of "'type'='relate'" to match the uniq name for the "'type'='id'".

    I feel like I'm talking in circles...
    I know this is confusing, It took me forever of reading and re-reading all I could find on this issue.

    Check out these other related posts.
    http://www.sugarcrm.com/forums/showthread.php?t=34255
    http://www.sugarcrm.com/forums/showthread.php?t=34219
    http://www.sugarcrm.com/forums/showthread.php?t=27917

    Hope this saves someone else a few days... I've been at this for 3 days!
    Maybe someone will release docs that describe this relationship for 5.0?!
    Looks like section 3.5 might have helped me in this yet unreleased doc. http://developers.sugarcrm.com/wordp...elopers-guide/ Clint are you reading this?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Module Builder
    By Olavo in forum Downloads
    Replies: 418
    Last Post: 2009-02-26, 06:36 AM
  2. Replies: 1
    Last Post: 2008-01-01, 08:03 AM
  3. Custom Fields. Many, many problems.
    By hkphooey in forum Installation and Upgrade Help
    Replies: 2
    Last Post: 2007-02-02, 10:22 AM
  4. Asterisk Patch 1.1.0 Crash on logon
    By skyracer in forum Help
    Replies: 6
    Last Post: 2006-07-08, 06:30 AM

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
  •