Results 1 to 4 of 4

Thread: many to many relationship

  1. #1
    chinwoei's Avatar
    chinwoei is offline Sugar Community Member
    Join Date
    Jul 2007
    Posts
    91

    Default many to many relationship

    Hi guys,
    did any know how to using the sugar5.0 module builder to build for the many to many relationships?
    or using own customize method to build it?

    What I know is put a metadata file inside the metadata folder & add a require on the dictionary.php

    Is it any way to compile the file into the module package?
    Like version 4.5, i can add in the command line inside the manifest.php.
    I am from iZeno Pte Ltd
    Personal Site: Technical Sharing
    SugarForge Project:
    iZeno SMS : http://www.sugarforge.org/projects/izeno-sms/

  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: many to many relationship

    Hi, chinwoei

    What do you want to do?
    Create a many-to-many relationship between 2 core modules or between a custom module and a core or between two custom modules?

    If one of the modules is a custom one, you can add a relationship between this one and anyother, custom or core.
    After publishing the package you can see the metadata for relationship inside the manifest.php.

    DId I answered you question? If not, let me know.


    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
    chinwoei's Avatar
    chinwoei is offline Sugar Community Member
    Join Date
    Jul 2007
    Posts
    91

    Default Re: many to many relationship

    Quote Originally Posted by andopes
    Hi, chinwoei

    What do you want to do?
    Create a many-to-many relationship between 2 core modules or between a custom module and a core or between two custom modules?

    If one of the modules is a custom one, you can add a relationship between this one and anyother, custom or core.
    After publishing the package you can see the metadata for relationship inside the manifest.php.

    DId I answered you question? If not, let me know.


    Cheers.

    Thanks for ur feedback on this.
    I will take a look on this, previously i didnt test on the publish function on that.
    May I know what is the different between publish & not publish?
    I am from iZeno Pte Ltd
    Personal Site: Technical Sharing
    SugarForge Project:
    iZeno SMS : http://www.sugarforge.org/projects/izeno-sms/

  4. #4
    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: many to many relationship

    HI, chinwoei

    There are 3 button in ModuleBuilder:
    1. Deploy: Generate an installer package and automatically install it in the same SugarCRM installation where it was built.
    2. Publish: Generate an installer and ask you to download it for installer in another installation (I guess that it is which you want to do).
    3. Export: Create a zip file containing the package for loading in ModuleBuilder in another SugarCRM installation.

    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. upgraded to 4.5.1e, received "Metadata for table tracker does not exist"
    By sfgeorge in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2007-09-03, 02:24 PM
  2. problemi step 6 di SugarSuite-Full-4.0.1h
    By lucia in forum Italiano
    Replies: 0
    Last Post: 2006-12-27, 08:50 AM
  3. Asterisk Patch 1.1.0 Crash on logon
    By skyracer in forum Help
    Replies: 6
    Last Post: 2006-07-08, 06:30 AM
  4. Replies: 7
    Last Post: 2006-06-06, 07:56 PM
  5. Query erro after 4.0 upgrade
    By ldebernardini in forum Help
    Replies: 20
    Last Post: 2006-01-13, 05:10 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
  •