Results 1 to 5 of 5

Thread: Create relationship from built in module to custom module

  1. #1
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Create relationship from built in module to custom module

    I have created a new module to add job numbers

    I then created a relationship to Accounts

    Then I added a relate field to the module called account and that gives me the search screen and works a dream

    What has me stumped is I want to be able to add a jobno, with search to a task

    I tried creating a relationship from my new module to the activities module and then went to add a relate field in Tasks but my job module is not in the module list

    How can I do this?

    I am using Sugar 5.0.0b

  2. #2
    frankext is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    43

    Default Re: Create relationship from built in module to custom module

    Hi, mikesolomon

    I tried this below, it works fine to me:
    Add your custom modules list into the array 'record_type_display' => '<custom module>' => '<your module name>',
    within <sugarcrm home>/include/language/<language>.lang.php file
    reload it, then these modules should be shown on the list when you use relate function.

    rgs

    frankext

  3. #3
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Create relationship from built in module to custom module

    Quote Originally Posted by frankext
    Hi, mikesolomon

    I tried this below, it works fine to me:
    Add your custom modules list into the array 'record_type_display' => '<custom module>' => '<your module name>',
    within <sugarcrm home>/include/language/<language>.lang.php file
    reload it, then these modules should be shown on the list when you use relate function.

    rgs

    frankext
    Thanks - I'll give that a try

    I got it working per instructions in http://www.sugarcrm.com/wiki/index.p...s_in_Sugar_5.0

    Your way sounds a lot easier

  4. #4
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Create relationship from built in module to custom module

    Quote Originally Posted by frankext
    Hi, mikesolomon

    I tried this below, it works fine to me:
    Add your custom modules list into the array 'record_type_display' => '<custom module>' => '<your module name>',
    within <sugarcrm home>/include/language/<language>.lang.php file
    reload it, then these modules should be shown on the list when you use relate function.

    rgs

    frankext

    Now found the best way to do this is use the dropdown editor & edit record_type_display

  5. #5
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: Create relationship from built in module to custom module

    Quote Originally Posted by mikesolomon
    Now found the best way to do this is use the dropdown editor & edit record_type_display
    Yes, that way you edit the dropdown inside <sugar-root>/include/language/<language>.lang.php via GUI.
    What do you think the cookie monster eats ?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. SugarOS-4.5.1c Installation ERROR
    By hazen in forum Installation and Upgrade Help
    Replies: 8
    Last Post: 2007-08-02, 06:16 PM
  2. Install step 7: Not loading db schema
    By BrianJacobs in forum Installation and Upgrade Help
    Replies: 22
    Last Post: 2007-07-26, 11:36 PM
  3. Install fails...insert admin user twice???
    By jweinberger in forum Installation and Upgrade Help
    Replies: 7
    Last Post: 2007-03-14, 04:07 AM
  4. problem step 7 version SugarOS-4.5.0f
    By lucia in forum Help
    Replies: 1
    Last Post: 2006-12-27, 01:21 PM
  5. Repair Error
    By Ericmuc in forum Downloads
    Replies: 1
    Last Post: 2005-11-13, 04:41 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
  •